mirror of
https://github.com/AAndyProgram/SCrawler.git
synced 2026-03-15 00:02:17 +00:00
2024.4.13.0
@@ -329,6 +329,7 @@ interface IPluginContentProvider : IDisposable
|
||||
List<KeyValuePair<string, string>> XmlFieldsGet();
|
||||
void GetMedia(Threading.CancellationToken Token);
|
||||
void Download(Threading.CancellationToken Token);
|
||||
void ResetHistoryData();
|
||||
}
|
||||
```
|
||||
|
||||
@@ -362,6 +363,8 @@ See the [Thrower](#IThrower) , [LogProvider](#ILogProvider) and [Settings](#ISit
|
||||
`GetMedia`: collect posts from the site and add then to the `TempMediaList` list.
|
||||
`Download`: download posts provided by the `TempMediaList` list.
|
||||
|
||||
`ResetHistoryData` is a function that will be called when the user resets the downloaded history.
|
||||
|
||||
## IUserMedia
|
||||
|
||||
This is a interface to create a class or structure to exchange data (to be downloaded) between your plugin and SCrawler. There is already a `PluginUserMedia` structure that implements this interface, but you can create your own.
|
||||
|
||||
Reference in New Issue
Block a user