mirror of
https://github.com/AAndyProgram/SCrawler.git
synced 2026-03-14 15:52:18 +00:00
IPluginContentProvider: add 'ProgressPreChanged' and 'ProgressPreMaximumChanged' events YT.MediaItem: change folder opening on double click YT.VideoListForm: change the icon for the 'Download' button Add advanced progress Add user metrics calculation UserDataBase: fix GIF hash bug Instagram: heic to jpg Mastodon.SiteSettings: add the main domain to the list of domains with saving the settings Mastodon.UserData: handle 'Forbidden' error; fix bug in parsing non-user posts Pinterest: remove cookies requirement for saved posts PornHub: fix resolutions issue; add 'DownloadUHD' option Reddit: fix missing images bug; fix broken images bug; update container parsing function MainFrame: fix collection pointing bug
41 lines
2.0 KiB
VB.net
41 lines
2.0 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 Name As String
|
|
Property ID 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 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)
|
|
End Interface
|
|
End Namespace |