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

30
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)

@@ -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<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();
}
```
@@ -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

@@ -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).