mirror of
https://github.com/AAndyProgram/SCrawler.git
synced 2026-03-14 15:52:18 +00:00
YT Add subtitles to information about downloaded files PluginProvider IPluginContentProvider: add 'ResetHistoryData' function SCrawler UserDataBase: call 'UpdateUsersList' when 'UpdateUserInformation' with argument 'OnlyDiff'; implement 'ResetHistoryData' function; set 'LastUpdated' to null and 'UpdateUserInformation' when erasing history data API.Instagram: set 'FirstLoadingDone' to false when erasing history data; fix broken saved posts downloading API.TikTok: set 'LastDownloadDate' to null when erasing history data API.YouTube: set last download dates to null when erasing history data GroupUsersViewer: add the number of users, object type and object name to the form title; add 'F1' to help hint; add '(Alt+)F3' to edit user AutoDownloaderEditorForm, SchedulerEditorForm, GroupEditorForm, GroupListForm: update to 'GroupUsersViewer' MainFrame: make 'EditSelectedUser' friend UserDataHost: implement 'ResetHistoryData' function SettingsCLS: add 'OnlyDiff' to the 'UpdateUsersList' function UserInfo: add 'ExactEquals' shared function
45 lines
2.2 KiB
VB.net
45 lines
2.2 KiB
VB.net
' Copyright (C) 2023 Andy https://github.com/AAndyProgram
|
|
' This program is free software: you can redistribute it and/or modify
|
|
' it under the terms of the GNU General Public License as published by
|
|
' the Free Software Foundation, either version 3 of the License, or
|
|
' (at your option) any later version.
|
|
'
|
|
' This program is distributed in the hope that it will be useful,
|
|
' but WITHOUT ANY WARRANTY
|
|
Namespace Plugin
|
|
Public Interface IPluginContentProvider : Inherits IDisposable
|
|
Event ProgressChanged(ByVal Value As Integer)
|
|
Event ProgressMaximumChanged(ByVal Value As Integer, ByVal Add As Boolean)
|
|
Event ProgressPreChanged As ProgressChangedEventHandler
|
|
Event ProgressPreMaximumChanged As ProgressMaximumChangedEventHandler
|
|
Property Thrower As IThrower
|
|
Property LogProvider As ILogProvider
|
|
Property Settings As ISiteSettings
|
|
Property AccountName As String
|
|
Property Name As String
|
|
Property ID As String
|
|
Property Options As String
|
|
Property ParseUserMediaOnly As Boolean
|
|
Property UserDescription As String
|
|
Property ExistingContentList As List(Of IUserMedia)
|
|
Property TempPostsList As List(Of String)
|
|
Property TempMediaList As List(Of IUserMedia)
|
|
Property UserExists As Boolean
|
|
Property UserSuspended As Boolean
|
|
Property IsSavedPosts As Boolean
|
|
Property IsSubscription As Boolean
|
|
Property SeparateVideoFolder As Boolean
|
|
Property DataPath As String
|
|
Property PostsNumberLimit As Integer?
|
|
Property DownloadDateFrom As Date?
|
|
Property DownloadDateTo As Date?
|
|
Function ExchangeOptionsGet() As Object
|
|
Sub ExchangeOptionsSet(ByVal Obj As Object)
|
|
Sub XmlFieldsSet(ByVal Fields As List(Of KeyValuePair(Of String, String)))
|
|
Function XmlFieldsGet() As List(Of KeyValuePair(Of String, String))
|
|
Sub GetMedia(ByVal Token As Threading.CancellationToken)
|
|
Sub Download(ByVal Token As Threading.CancellationToken)
|
|
Sub DownloadSingleObject(ByVal Data As IDownloadableMedia, ByVal Token As Threading.CancellationToken)
|
|
Sub ResetHistoryData()
|
|
End Interface
|
|
End Namespace |