* Adding a Referer value to the request header increases the possibility of circumventing Cloudflare.
* Adding a Referer value to the request header increases the possibility of circumventing Cloudflare.
* Adding a Referer value to the request header increases the possibility of circumventing Cloudflare.
* Update src/zh/jinmantiantang/src/eu/kanade/tachiyomi/extension/zh/jinmantiantang/Jinmantiantang.kt
---------
Co-authored-by: Vetle Ledaal <vetle.ledaal@gmail.com>
* import all temporarily
* use `getPreferencesLazy()`
regex: lazy\s*\{\s*Injekt\.get<Application>\(\)\.getSharedPreferences\(\"source_\$id\"\, 0x0000\)(!!)?\s*\}
* use `getPreferences()`
regex: Injekt\.get<Application>\(\)\.getSharedPreferences\(\"source_\$id\"\, 0x0000\)(!!)?
* `getPreferences` and `getPreferencesLazy` with migration
regex to find: getPreferences\(\)\s*\.
* preferences edge cases
* run lint
* why kotlinter not add newline
* bruh
* bump
* unused import not caught by kotlinter
* review suggestions on all files
* bump after merge main
* review
* reduce usage of
* Jinmantiantang: extract SimpleDateFormat instance
* Update URL and bump version
* Cleanup for preferences
* Refactor manga list parse
* some additional cleanups
* fix manga list parsing
Co-authored-by: kasperskier <95685115+kasperskier@users.noreply.github.com>
Co-authored-by: steven-ya <95685115+steven-ya@users.noreply.github.com>
* Fix Jingmantiantang's ownText is null and add deeplink support
[Fix] Jingmantiantang's ownText is null during chapter loading
The old implementation is to use chapterArea to store wheather or
not the Manga requested is only single page or multi-chapter.
This, however, creates a big issue as the chapterArea can be changed
to multi-chapter in preveious Manga, and that information is carried
over to other Manga which might be single chapter.
The new implementation remove global value chapterArea and it helper
function determineChapterInfo.
Instead, the single-multi check is performed in chapterListParse, which
only happen once per manga update request, vs three times call of
determineChapterInfo.
[Fix] Change Author's CSS selector and enable multi-author listing
[Fix] Default manga status to Completed
As Jingmantiantang often do not mark manga as complete, and there
is a high chance that manga user requested in single page. Thus
defaulting to completed, unless marked as ongoing.
[FEAT] Enable BaseUrl switch
As mentioned in (tachiyomiorg#5363) and (tachiyomiorg#4908). There is a frquent PR for
mirror site change. Unable user choice to stick with main site
or mirror site should please everyone
[FIX] Record mainSiteRateLimitPeriodPreference to correct key.
[FIX] Change one tag to the correct name
[FEAT] Enable deeplink support
* Fix mirror site relase page link, change ID prefix to JM