mirror of
https://github.com/AAndyProgram/SCrawler.git
synced 2026-03-24 12:42:18 +00:00
2022.10.23.0
PluginProvider: added 'DoNotUse' attribute. Channels: copying a channel to the 'ChannelsDeleted' folder before deleting. Twitter: updated status codes. AutoDownloader: removed base parameters initialization; updated 'ToEContainer' function; 'StartupDelay' default value = 1; added IIndexable; fixed NextExecutionDate; added task delay based on index and tasks count; updated user selections algorithms. MainFrame: coloring the button 'Download All' depending on the pause; updated user selections algorithms. DownloadGroups: added LabelsExcluded, Sites and SitesExcluded; updated initialization; updated ToEContainer function; updated user selections algorithms IGroup, GroupParameters: added LabelsExcluded, Sites and SitesExcluded; added Import and Export functions Removed TrayIcon notifications. All notifications are now ToastNotifications. SettingsHost: 'DoNotUse' attribute Settings: added 'GetUsers' predicate function
This commit is contained in:
@@ -236,8 +236,19 @@ Namespace API.Reddit
|
||||
Return If(Name.IsEmptyString, ID, Name)
|
||||
End Function
|
||||
Friend Sub Delete()
|
||||
File.Delete(, SFODelete.DeleteToRecycleBin)
|
||||
FilePosts.Delete(, SFODelete.DeleteToRecycleBin)
|
||||
Dim f As SFile = ChannelsCollection.ChannelsDeletedPath
|
||||
With File
|
||||
f.Name = .Name
|
||||
f.Extension = .Extension
|
||||
.Copy(f,, True, SFODelete.DeleteToRecycleBin)
|
||||
.Delete(, SFODelete.DeleteToRecycleBin)
|
||||
End With
|
||||
With FilePosts
|
||||
f.Name = .Name
|
||||
f.Extension = .Extension
|
||||
.Copy(f,, True, SFODelete.DeleteToRecycleBin)
|
||||
.Delete(, SFODelete.DeleteToRecycleBin)
|
||||
End With
|
||||
End Sub
|
||||
Friend Sub DownloadData(ByVal Token As CancellationToken, Optional ByVal SkipExists As Boolean = True,
|
||||
Optional ByVal p As MyProgress = Nothing)
|
||||
|
||||
Reference in New Issue
Block a user