2024.4.13.0

Andy
2024-04-13 10:11:27 +03:00
parent ba0807648b
commit 0699c2ad32

@@ -329,6 +329,7 @@ interface IPluginContentProvider : IDisposable
List<KeyValuePair<string, string>> XmlFieldsGet(); List<KeyValuePair<string, string>> XmlFieldsGet();
void GetMedia(Threading.CancellationToken Token); void GetMedia(Threading.CancellationToken Token);
void Download(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. `GetMedia`: collect posts from the site and add then to the `TempMediaList` list.
`Download`: download posts provided by 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 ## 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. 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.