Refactor settings and enhance download manager
Refactor application to use SettingService for managing settings. Update project to target Windows desktop application. Enhance DownloadManagerService for better task handling. Add new dependencies and remove obsolete settings files. Improve UI feedback and notifications for user actions.
This commit is contained in:
@@ -13,6 +13,9 @@ public class YandeUrlGetter : IUrlGetter
|
||||
|
||||
public async Task<FileUrl> GetFileUrl(string taskUrl)
|
||||
{
|
||||
if (!taskUrl.StartsWith("https://yande.re/post/show/"))
|
||||
return new FileUrl(null, null, null);
|
||||
|
||||
// Get the ID of the post from the URL
|
||||
var id = taskUrl.Split("https://yande.re/post/show/").Last();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user