mirror of
https://github.com/AAndyProgram/SCrawler.git
synced 2026-03-15 16:22:17 +00:00
PluginProvider
IUserMedia, PluginUserMedia: add properties 'PostText', 'PostTextFile', 'PostTextFileSpecialFolder'
YT
YouTubeFunctions: update 'Info_GetUrlType' and 'StandardizeURL' functions: add youtu.be domain
YouTubeSettings: add 'FILTER' property
Add classes 'FilterForm', 'YTDataFilter'
VideoListForm: add filters; update 'LoadData' and 'RemoveControls' functions; add hotkey 'Ctrl+F5' for refresh
YouTubeMediaContainerBase: add support for new interface properties
Minor bugs
SCrawler
DeclaredNames: add new names
EditorExchangeOptionsBase, IUserData, SiteSettingsBase, UserMedia, UserDataBase: add support for text downloading
Sites Bluesky, Instagram, OnlyFans, Reddit, ThreadsNet, Twitter: add support for text downloading
Sites Facebook, JustForFans, LPSG, Mastodon, Pinterest, PornHub, Redgifs, ThisVid, TikTok, Xhamster, XVIDEOS, YouTube (STD): disable text downloading
UserDataBase: add 'ToStringExt' functions
API.Instagram: add 'SleepTimerRequestsNextProfile' property
API.OnlyFans: update 'DynamicRules'; fix incorrect posts opening (update 'GetUserPostUrl' function); fix limited download ('DownloadTopCount')
API.Reddit: fix post date provider; add 'Best' and 'Rising' view modes; fix request (data is not downloading); set 'BearerTokenUseCurl' to 'False' by default
API.ThreadsNet: change domain from 'net' to 'com'; fix data downloading
API.TikTok: add downloading of avatar, site name and description
API.Twitter: fix JSON error; add debug options; fix downloading
API.Xhamster: add folder 'Photo' for albums
Feed: add filters; update move/copy algo; add the ability to show test posts; update table rendering; add new 'MediaItem' handlers
FeedMedia: add text options; update 'DeleteFile' function
FeedMoveCopyTo: add text option
VideoDownloaderForm: disable filter button
GlobalSettingsForm: add 'FeedShowTextPosts' and 'FeedShowTextPostsAlwaysMove' options
SettingsCLS: add feed text properties
UserImage: add 'CreateImageFromText' function
UserInfo: update 'Equals' function
Add classes: 'FeedFilter', 'FeedFilterCollection', 'FeedFilterForm'
Minor bugs and improvements
43 lines
3.0 KiB
VB.net
43 lines
3.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 API.Base
|
|
Friend NotInheritable Class DeclaredNames
|
|
Friend Const Header_Authorization As String = "authorization"
|
|
Friend Const Header_CSRFToken As String = "x-csrf-token"
|
|
|
|
Friend Const CAT_UserDefs As String = "New user defaults"
|
|
Friend Const CAT_Timers As String = "Timers"
|
|
|
|
Friend Const ConcurrentDownloadsCaption As String = "Concurrent downloads"
|
|
Friend Const ConcurrentDownloadsToolTip As String = "The number of concurrent downloads."
|
|
Friend Const SavedPostsUserNameCaption As String = "Saved posts user"
|
|
Friend Const SavedPostsUserNameToolTip As String = "Personal profile username"
|
|
Friend Const GifsSpecialFolderCaption As String = "GIFs special folder"
|
|
Friend Const GifsSpecialFolderToolTip As String = "Put the GIFs in a special folder" & vbCr &
|
|
"This is a folder name, not an absolute path." & vbCr &
|
|
"This folder(s) will be created relative to the user's root folder." & vbCr &
|
|
"Examples:" & vbCr & "SomeFolderName" & vbCr & "SomeFolderName\SomeFolderName2"
|
|
Friend Const GifsPrefixCaption As String = "GIF prefix"
|
|
Friend Const GifsPrefixToolTip As String = "This prefix will be added to the beginning of the filename"
|
|
Friend Const GifsDownloadCaption As String = "Download GIFs"
|
|
Friend Const UseMD5ComparisonCaption As String = "Use MD5 comparison"
|
|
Friend Const UseMD5ComparisonToolTip As String = "Each image will be checked for existence using MD5"
|
|
Friend Const UserNameChangeCaption As String = "UserName"
|
|
Friend Const UserNameChangeToolTip As String = "If the user has changed their UserName, you can set a new name here. Not required for new users."
|
|
|
|
Friend Const DownloadTextCaption As String = "Download text"
|
|
Friend Const DownloadTextTip As String = "Download text (if available) for posts with image and video" & vbCr & "If this checkbox is checked, the post text will be downloaded along with the file and saved under the same name but with the 'txt' extension."
|
|
Friend Const DownloadTextPostsCaption As String = "Download text posts"
|
|
Friend Const DownloadTextPostsTip As String = "Download text (if available) for text posts (no image and video)"
|
|
Friend Const DownloadTextSpecialFolderCaption As String = "Text special folder"
|
|
Friend Const DownloadTextSpecialFolderTip As String = "If checked, text files will be saved to a separate folder"
|
|
Private Sub New()
|
|
End Sub
|
|
End Class
|
|
End Namespace |