Commit Graph

100 Commits

Author SHA1 Message Date
9eb8ddbc40 Changed Publication:
downloadUrl is now publicationId, internal to Connector
posterUrl is now a URL to the file, instead of an id
2023-05-22 16:45:55 +02:00
5fc2de5fcb logging 2023-05-22 01:20:32 +02:00
4d33e78123 unused variable 2023-05-21 22:24:23 +02:00
ea69b355b5 No duplicate keys 2023-05-21 21:24:04 +02:00
455c87b2e1 New API 2023-05-21 21:12:32 +02:00
876b1ab78b Added internalId to Publication 2023-05-21 16:22:14 +02:00
e02b00e0ef Better/More logging 2023-05-21 01:57:56 +02:00
d62b0bdf34 Changed Logger to accept string as caller
Added Logger to all relevant methods
2023-05-20 22:10:24 +02:00
9d583b284a Created Method to check wether file is already downloaded.
Using this method when running TaskExecutor.UpdateChapters to get a list of all chapters that have not yet been downloaded.
2023-05-20 01:30:23 +02:00
9d104b25f8 Renamed some variables,
changed some access-types to protected/readonly
Made Resharper a bit happier
2023-05-20 01:06:00 +02:00
2550beb621 non-english titles can now also be listed. 2023-05-20 00:46:25 +02:00
a3520dfd77 Now adding ComicInfo.xml to chapterse 2023-05-20 00:19:04 +02:00
26ef59ab42 Check if directory exists before creating 2023-05-19 22:58:59 +02:00
e499062fd5 Add more documentation 2023-05-19 20:22:13 +02:00
95eca6e1da Moved _downloadClient initialization from inherited Connector Classes to Connector-Main class. 2023-05-19 19:50:26 +02:00
881caafd43 Moved DownloadImage Method to Connector. 2023-05-19 19:44:59 +02:00
bf20676994 Removed field Publication from Chapter (Since Chapter is always Part of Publication) 2023-05-19 19:32:47 +02:00
8c6c95d07d Fixed issue where unsuccessfull resquests would crash the program. 2023-05-19 18:11:14 +02:00
b0f6441599 Changed MangaDex name to MangaDex 2023-05-19 17:35:29 +02:00
cfaf8064cc Check if cover already exists in publication. 2023-05-19 16:27:30 +02:00
0afbcd9bbf Removed field Connector from Publication as it was not needed. 2023-05-19 16:21:59 +02:00
f5225f9f29 Moved filenaming to Chapter struct 2023-05-18 20:06:29 +02:00
glax
c283cbd9a9 Added download cover functionality 2023-05-18 19:56:06 +02:00
glax
cd061d23fc renamed variable 2023-05-18 19:55:18 +02:00
glax
ab34ca2c45 Field folderName in publication 2023-05-18 19:54:51 +02:00
glax
3485eac88c More appropriate name for chapter filename 2023-05-18 19:51:26 +02:00
glax
88e5379e25 Cleanup 2023-05-18 19:04:34 +02:00
glax
a1bd85daa5 Moved field downloadLocation to abstract Connector class. 2023-05-18 18:51:19 +02:00
glax
d46b46f8fb Create Publication Folder and replace downloaded files if necessary. 2023-05-18 18:43:22 +02:00
glax
d191f5dfc7 moved fileName to Chapter for future checking if file exists. 2023-05-18 18:42:36 +02:00
glax
2925206048 fixed chapter order 2023-05-18 18:20:37 +02:00
glax
340a2b7e43 fixed bug where offset wasnt increasing 2023-05-18 18:20:21 +02:00
glax
cbdc91985b fixed bug where offset was increased too soon 2023-05-18 18:20:04 +02:00
glax
e3247e6242 Reduced download delay 2023-05-18 18:19:29 +02:00
glax
170d0c094c Added functionality to only list chapters in selected language 2023-05-18 18:19:04 +02:00
glax
8af8171330 fixed wrong url issue on image download 2023-05-18 17:42:26 +02:00
glax
40242ee7ca fixed wrong id-location when getting chapters 2023-05-18 17:22:02 +02:00
glax
9eb53bb53a Fixed null-Errors in json 2023-05-18 17:21:34 +02:00
glax
9a01db710b Fixed illegal characters in filenames
Fixed logic for downloading images (separation between Connector and inherited classes)
2023-05-18 17:21:06 +02:00
glax
93bb8ef6ee Added delay functionality for rate-limits 2023-05-18 17:20:01 +02:00
glax
ae29b8f341 TODO Download covers: https://api.mangadex.org/docs/retrieving-covers/ https://api.mangadex.org/docs/swagger.html#/ 2023-05-18 16:42:12 +02:00
glax
b54ac730b7 Added Image download and compression to archive to Connector. 2023-05-18 16:42:00 +02:00
glax
c3cb4d6e08 Add optional value to search for Manga instead of downloading all
GetPublications(string = null)
2023-05-18 16:41:14 +02:00
glax
b15e032038 Add field downloadLocation to Connector to save archives. 2023-05-18 16:40:23 +02:00
glax
73df8ad213 Added functionality to DownloadChapter in Mangadex 2023-05-18 16:21:54 +02:00
glax
d13a7c3e49 Add field "url" to Chapter to know where to download. 2023-05-18 16:21:36 +02:00
glax
317d1435f3 Add Publication to DownloadChapter Method, to later correctly save images. 2023-05-18 16:21:02 +02:00
glax
140aac8f87 Added functionality to GetChapters. 2023-05-18 16:04:03 +02:00
glax
71d09229da offset is increased at start of loop to prevent multiple attempts at downloading same list. 2023-05-18 16:03:44 +02:00
glax
8fde7f8885 Added first Connector: MangaDex
Can fetch all Mangas so far.
2023-05-18 15:48:54 +02:00