mirror of
https://github.com/AAndyProgram/SCrawler.git
synced 2026-03-14 15:52:18 +00:00
Add 'Path' plugin UserDataBase: changed file names for saved posts; removed 'Self' property; add 'MyFileSettings' field; added UserSiteName; changed download envir algo Twitter: added MD5 comparison; duplicate images removal option; UserSiteName parsing; download icon and banner Instagram: added a new option for token 'www_claim'; removed requirement of token 'www_claim'; UserSiteName parsing; download icon Reddit: UserSiteName parsing; download icon and banner PornHub: fixed unicode titles XHamster: added channels ffmpeg: fixed max input length error during files combining; fixed encoding issue Feed: added images centering; added BackColor and ForeColor change MainFrame: added BackColor, ForeColor, and BackgroungImage change; added 'UpdateLogButton' when load completed ListImagesLoader: fixed wrong notification when no users found SettingsCLS: updated users loading algo
45 lines
2.0 KiB
VB.net
45 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
|
|
Imports SCrawler.API.Base
|
|
Namespace API.PathPlugin
|
|
Friend Class UserData : Inherits UserDataBase
|
|
Private Const DOWNLOAD_ERROR As String = "The path plugin only provides user paths."
|
|
Friend Overrides Property UserExists As Boolean
|
|
Get
|
|
Return FileExists
|
|
End Get
|
|
Set(ByVal e As Boolean)
|
|
MyBase.UserExists = e
|
|
End Set
|
|
End Property
|
|
Friend Overrides Property UserSuspended As Boolean
|
|
Get
|
|
Return False
|
|
End Get
|
|
Set(ByVal s As Boolean)
|
|
MyBase.UserSuspended = s
|
|
End Set
|
|
End Property
|
|
Friend Overrides Sub OpenSite(Optional ByVal e As ErrorsDescriber = Nothing)
|
|
OpenFolder()
|
|
End Sub
|
|
Protected Overrides Sub LoadUserInformation_OptionalFields(ByRef Container As XML.XmlFile, ByVal Loading As Boolean)
|
|
End Sub
|
|
Protected Overrides Sub DownloadDataF(ByVal Token As Threading.CancellationToken)
|
|
Throw New InvalidOperationException(DOWNLOAD_ERROR)
|
|
End Sub
|
|
Protected Overrides Sub DownloadContent(ByVal Token As Threading.CancellationToken)
|
|
Throw New InvalidOperationException(DOWNLOAD_ERROR)
|
|
End Sub
|
|
Protected Overrides Function DownloadingException(ByVal ex As Exception, ByVal Message As String, Optional ByVal FromPE As Boolean = False,
|
|
Optional ByVal EObj As Object = Nothing) As Integer
|
|
Throw New InvalidOperationException(DOWNLOAD_ERROR)
|
|
End Function
|
|
End Class
|
|
End Namespace |