2022.9.17.0

Andy
2022-09-17 20:00:33 +03:00
parent cbcd1cf395
commit b3c1a8221b
3 changed files with 56 additions and 16 deletions

10
Home.md

@@ -128,13 +128,13 @@ This button looks like a bookmark. When you click on this button, a form for dow
### View ### View
- ```View``` - users view modes. - ```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. - ```Large/Small images``` - with icons.
- ```List``` / ```Details``` - simple, without 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 - ```All``` - default
- ```Specific sites``` - select sites to be displayed - ```Specific sites``` - select sites to be displayed
- The third block specifies **what** users will be displayed on the form. - The third block specifies **which ** users will be displayed in the form.
- ```All``` - default. - ```All``` - default.
- ```Regular``` - only show users who are not marked as ```Favorite``` or ```Temporary```. - ```Regular``` - only show users who are not marked as ```Favorite``` or ```Temporary```.
- ```Temporary``` - only show users marked as temporary. - ```Temporary``` - only show users marked as temporary.
@@ -146,7 +146,9 @@ This button looks like a bookmark. When you click on this button, a form for dow
- ```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) - ```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. - ```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) - ```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 - 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) ![Main window context](https://github.com/AAndyProgram/SCrawler/blob/main/ProgramScreenshots/MainWindow2.png)

@@ -148,6 +148,40 @@ interface ISiteSettings
} }
``` ```
``` 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<PluginUserMedia> ExistingContentList {get; set;};
List<string> TempPostsList {get; set;};
List<PluginUserMedia> TempMediaList {get; set;};
bool UserExists {get; set;};
bool UserSuspended {get; set;};
bool IsSavedPosts {get; set;};
bool SeparateVideoFolder {get; set;};
string DataPath {get; set;};
Nullable<int> PostsNumberLimit {get; set;};
Nullable<DateTime> DownloadDateFrom {get; set;};
Nullable<DateTime> DownloadDateTo {get; set;};
object ExchangeOptionsGet();
void ExchangeOptionsSet(object Obj);
void XmlFieldsSet(List<KeyValuePair<string, string>> Fields);
List<KeyValuePair<string, string>> XmlFieldsGet();
void GetMedia();
void Download();
}
```
### Site ### Site
Site name. This ReadOnly property must only provide the name of the site. For example: for instagram.com you should set the site name ```Instagram```. The first letter must be uppercase. Site name. This ReadOnly property must only provide the name of the site. For example: for instagram.com you should set the site name ```Instagram```. The first letter must be uppercase.
@@ -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 - ```SeparateVideoFolder``` - if true, the videos **must** be saved separately from the images folder
- ```DataPath``` - download path - ```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! - ```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 ### ExchangeOptionsGet

@@ -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. 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. - ```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 - ```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 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) - ```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. - ```Path``` - where Twitter users' data will be placed.
- ```Cookies``` add cookies from your browser (click the pencil button to open the cookies editor). - ```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. - ```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 - ```Get user media only``` - the default for creating new users
- ```Authorization``` - Bearer token. Must start with ```Bearer ``` word followed by a space. - ```Authorization``` - Bearer token. Must start with ```Bearer ``` word followed by a space.
- ```Token``` - in this field you need to put ```x-csrf-token```. - ```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). - ```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. - ```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. - ```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 - 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``` - **\[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). - ```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).