mirror of
https://github.com/AAndyProgram/SCrawler.git
synced 2026-03-14 15:52:18 +00:00
Add sites: PornHub, XHamster Add saved xvideos posts downloading PluginProvider: added TaskGroup attribute; added IUserMedia inteface; changed PluginUserMedia to IUserMedia in interface declarations; changed 'User' String to IPluginContentProvider in ISiteSettings sinterface Added update the 'LOG' button at the end of the ProfileSaved download function API.Base: added 'IUserMedia' compatibility for 'UserMedia'; moved 'GetImage' from 'UserPost' to 'ChannelsViewForm'; update constants in UserDataBase; updated UserDataBase to new UserInfo environment. API.Instagram.UserData: fixed date issue API.Reddit.SiteSettings: update user patterns API.Twitter.Declarations: moved provider here from MainFrame UserDataBind: updated to new UserInfo environment ActiveDownloadingProgress: updated form rendering AutoDownloader: added SpecialDelay TDownloader: added 'Suspended' option; updated for TaskGroups CollectionEditorForm: fixed order bug LabelsForm: remove old stuff UserEditorForm: added collection editing MainFrame: improve label selection Add import users Added the ability to create a virtual collection and add a virtual user to a real collection SettingsCLS: improve users loading
50 lines
2.0 KiB
VB.net
50 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 Enum UserMediaTypes As Integer
|
|
Undefined = 0
|
|
[Picture] = 1
|
|
[Video] = 2
|
|
[Text] = 3
|
|
VideoPre = 10
|
|
GIF = 50
|
|
m3u8 = 100
|
|
End Enum
|
|
Public Enum UserMediaStates As Integer
|
|
Unknown = 0
|
|
Tried = 1
|
|
Downloaded = 2
|
|
Skipped = 3
|
|
Missing = 4
|
|
End Enum
|
|
Public Structure PluginUserMedia : Implements IUserMedia
|
|
Public Property ContentType As Integer Implements IUserMedia.ContentType
|
|
Public Property URL As String Implements IUserMedia.URL
|
|
Public Property URL_BASE As String Implements IUserMedia.URL_BASE
|
|
Public Property MD5 As String Implements IUserMedia.MD5
|
|
Public Property File As String Implements IUserMedia.File
|
|
Public Property DownloadState As Integer Implements IUserMedia.DownloadState
|
|
Public Property PostID As String Implements IUserMedia.PostID
|
|
Public Property PostDate As Date? Implements IUserMedia.PostDate
|
|
Public Property SpecialFolder As String Implements IUserMedia.SpecialFolder
|
|
Public Property Attempts As Integer Implements IUserMedia.Attempts
|
|
End Structure
|
|
Public Interface IUserMedia
|
|
Property ContentType As Integer
|
|
Property URL As String
|
|
Property URL_BASE As String
|
|
Property MD5 As String
|
|
Property File As String
|
|
Property DownloadState As Integer
|
|
Property PostID As String
|
|
Property PostDate As Date?
|
|
Property SpecialFolder As String
|
|
Property Attempts As Integer
|
|
End Interface
|
|
End Namespace |