Commit Graph

378 Commits

Author SHA1 Message Date
glax
8af8171330 fixed wrong url issue on image download 2023-05-18 17:42:26 +02:00
glax
ada842957e Added file extension to downloaded Images. 2023-05-18 17:42:02 +02:00
glax
81f380dc3c Renamed fields to match private naming style.
Fixed issue where _lastRequest in DownloadClient was not updated.
2023-05-18 17:41:44 +02:00
glax
2b7f759e7e Upgraded test-setup 2023-05-18 17:22:10 +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
6f128ea044 Removed unnecessary fields and changed fieldTypes in Chapter. 2023-05-18 16:03:00 +02:00
glax
7aeb6bcc2f Added executable for testing. 2023-05-18 15:49:08 +02:00
glax
8fde7f8885 Added first Connector: MangaDex
Can fetch all Mangas so far.
2023-05-18 15:48:54 +02:00
glax
aa6d2d64bd Changed prototypes for GetPublications, GetChapters and DownloadChapter to return the value instead of using out. 2023-05-18 15:47:48 +02:00
glax
d016d5a8fd Added more fields to Publication 2023-05-18 15:47:05 +02:00
glax
d57c8d15f7 Moved Connector 2023-05-18 12:28:34 +02:00
glax
d6ec91c896 Moved files
Added DownloadClient to Connector
2023-05-18 12:26:15 +02:00
glax
45713b868d throw error instead of returning made up value 2023-05-17 23:51:09 +02:00
glax
5db12093c4 Added Tranga to spellchecker-dictionary. 2023-05-17 23:34:36 +02:00
4b0a1c0a9d Added Structs Chapter and Publication
Added TaskManager and TrangaTask

TaskManager manages all TrangaTasks and starts Tasks when necessary.
Execution is necessary when time elapsed between last execution and now is greater than TrangaTask.reoccurrence.
2023-05-17 23:23:01 +02:00
a0d2cb92bf initial commit 2023-05-17 22:13:15 +02:00