diff --git a/Home.md b/Home.md index 36ffe8c..f5caa81 100644 --- a/Home.md +++ b/Home.md @@ -128,25 +128,27 @@ This button looks like a bookmark. When you click on this button, a form for dow ### View - ```View``` - users view modes. - - The first block specifies **how** users will be displayed on the form. + - The first block specifies **how** users will be displayed in the form. - ```Large/Small images``` - with icons. - ```List``` / ```Details``` - simple, without icons. - - The second block specifies the **sites** of the users that will be displayed on the form. + - The second block specifies the user **sites** that will be displayed in the form. - ```All``` - default - - ```Specific sites``` - select sites to be displayed - - The third block specifies **what** users will be displayed on the form. + - ```Specific sites``` - select sites to be displayed + - The third block specifies **which ** users will be displayed in the form. - ```All``` - default. - ```Regular``` - only show users who are not marked as ```Favorite``` or ```Temporary```. - - ```Temporary``` - only show users marked as temporary. - - ```Favorite``` - only show users marked as favorite. - - ```Deleted``` - only show users whose profiles have been deleted - - ```Suspended``` - only show users whose profiles have been suspended - - ```Labels``` - show users labeled with one or more selected label - - ```No Labels``` - only show users without a label - - ```Excluded labels``` - exclude from displaying users with the selected labels (this is suitable for situations where you want to hide a user but don't want to delete) - - ```Ignore excluded labels``` - Ignore excluding labels. This allows you to show users that should be excluded from display without resetting the current selection of excluded labels. - - ```Show groups instead of labels``` - show sites groups instead of labels (when filtering users by labels) - - ```Limit dates``` - set lowest date to filter out users who have not been downloaded since that date + - ```Temporary``` - only show users marked as temporary. + - ```Favorite``` - only show users marked as favorite. + - ```Deleted``` - only show users whose profiles have been deleted + - ```Suspended``` - only show users whose profiles have been suspended + - ```Labels``` - show users labeled with one or more selected label + - ```No Labels``` - only show users without a label + - ```Excluded labels``` - exclude from displaying users with the selected labels (this is suitable for situations where you want to hide a user but don't want to delete) + - ```Ignore excluded labels``` - Ignore excluding labels. This allows you to show users that should be excluded from display without resetting the current selection of excluded labels. + - ```Show groups instead of labels``` - show sites groups instead of labels (when filtering users by labels) + - The fourth block specifies the date range of the last download, whose users will be displayed in the form. + - ```Limit dates (not in range)``` - filter users whose last download date is not in the selected date range + - ```Limit dates (in range)``` - filter users whose last download date is in the selected date range ![Main window context](https://github.com/AAndyProgram/SCrawler/blob/main/ProgramScreenshots/MainWindow2.png) diff --git a/Plugins.md b/Plugins.md index 3d22853..a91d8c9 100644 --- a/Plugins.md +++ b/Plugins.md @@ -144,7 +144,41 @@ interface ISiteSettings void Reset(); void OpenSettingsForm(); void UserOptions(ref object Options, bool OpenForm); - string GetUserPostUrl(string UserID, string PostID); + string GetUserPostUrl(string UserID, string PostID); +} +``` + +``` CSharp +interface IPluginContentProvider : IDisposable +{ + delegate void ProgressChangedEventHandler(int Count); + event ProgressChangedEventHandler ProgressChanged; + delegate void TotalCountChangedEventHandler(int Count); + event TotalCountChangedEventHandler TotalCountChanged; + IThrower Thrower {get; set;}; + ILogProvider LogProvider {get; set;}; + ISiteSettings Settings {get; set;}; + string Name {get; set;}; + string ID {get; set;}; + bool ParseUserMediaOnly {get; set;}; + string UserDescription {get; set;}; + List ExistingContentList {get; set;}; + List TempPostsList {get; set;}; + List TempMediaList {get; set;}; + bool UserExists {get; set;}; + bool UserSuspended {get; set;}; + bool IsSavedPosts {get; set;}; + bool SeparateVideoFolder {get; set;}; + string DataPath {get; set;}; + Nullable PostsNumberLimit {get; set;}; + Nullable DownloadDateFrom {get; set;}; + Nullable DownloadDateTo {get; set;}; + object ExchangeOptionsGet(); + void ExchangeOptionsSet(object Obj); + void XmlFieldsSet(List> Fields); + List> XmlFieldsGet(); + void GetMedia(); + void Download(); } ``` @@ -374,7 +408,7 @@ This object will be replaced by SCrawler with the active settings instance. **AT - ```SeparateVideoFolder``` - if true, the videos **must** be saved separately from the images folder - ```DataPath``` - download path - ```PostsNumberLimit``` - the **maximum** number of posts a user has requested to download! This is a **nullable** argument. So, if it's ```Nothing``` (or ```null``` in C#), then no limited download is requested! - - ```PostsDateLimit``` - the **lowest** date of posts a user has requested to download! This is a **nullable** argument. So, if it's ```Nothing``` (or ```null``` in C#), then no limited download is requested! + - ```DownloadDateFrom```, ```DownloadDateTo``` - the **lowest** and **highest** date of posts a user has requested to download! This is a **nullable** argument. So, if it's ```Nothing``` (or ```null``` in C#), then no limited download is requested! ### ExchangeOptionsGet diff --git a/Settings.md b/Settings.md index 9cd7cea..9ff118d 100644 --- a/Settings.md +++ b/Settings.md @@ -75,6 +75,7 @@ You need to configure Reddit path where Reddit users' data will be placed. Defau The Reddit parser can parse data without cookies, but you can add it if you like. - ```Temporary```, ```Download images/videos``` - personal site settings by default for creating new users. Means the same as the parameters of the same name on the ```Defaults``` tab. If the checkbox is in an intermediate state, then the same name setting of the ```Defaults``` tab will be used instead. Otherwise, this setting will be applied. + - ```Download site data``` - You can disable downloading data from the site if you need it. If disabled, this site's data will not be downloaded. - ```Get user media only``` - the default for creating new users - ```Saved posts path``` - if you wish, you can specify a special path for saved posts. Leave it blank to use the default path. - ```Saved posts user``` - your personal Reddit username to download your saved posts (this feature requires cookies) @@ -93,6 +94,7 @@ The Reddit parser can parse data without cookies, but you can add it if you like - ```Path``` - where Twitter users' data will be placed. - ```Cookies``` add cookies from your browser (click the pencil button to open the cookies editor). - ```Temporary```, ```Download images/videos``` - personal site settings by default for creating new users. Means the same as the parameters of the same name on the ```Defaults``` tab. If the checkbox is in an intermediate state, then the same name setting of the ```Defaults``` tab will be used instead. Otherwise, this setting will be applied. + - ```Download site data``` - You can disable downloading data from the site if you need it. If disabled, this site's data will not be downloaded. - ```Get user media only``` - the default for creating new users - ```Authorization``` - Bearer token. Must start with ```Bearer ``` word followed by a space. - ```Token``` - in this field you need to put ```x-csrf-token```. @@ -118,6 +120,8 @@ The Reddit parser can parse data without cookies, but you can add it if you like - ```Cookies``` add cookies from your browser (click the pencil button to open the cookies editor). - ```Saved posts path``` - if you wish, you can specify a special path for saved posts. Leave it blank to use the default path. - ```Temporary```, ```Download images/videos``` - personal site settings by default for creating new users. Means the same as the parameters of the same name on the ```Defaults``` tab. If the checkbox is in an intermediate state, then the same name setting of the ```Defaults``` tab will be used instead. Otherwise, this setting will be applied. + - ```Download site data``` - You can disable downloading data from the site if you need it. If disabled, this site's data will not be downloaded. + - ```Get user media only``` - the default for creating new users - Authorization - ```Hash``` - **\[Required\]** in this field you need to put the hash of the Instagram session ([how to find](#how-to-find-instagram-hash)). - ```Hash 2``` - **\[For saved Instagram posts only\]** in this field you need to put the [hash of the Instagram session for saved posts](#how-to-find-instagram-hash).