-
Notifications
You must be signed in to change notification settings - Fork 469
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FIX: Lezhin - fix CDN, purchased, and unscramble images when needed (#…
…5378) * Lezhin : fix case not getting pictures * coin == 0 doesn't mean purchased. If we pass purchased = true when its not we get 403 errors when pictures should be accessible. * _getPages() : Read "purchased" value in chapter page __LZ_PRODUCT__ and provide it in payload data * _hancleConnectorURI : provided purchased value * Lezhin : cdn change & use given cdn Turns out cdn is dead, ccdn is just for website stuff, and rcdn is the one with pictures. Paid and free chapters now are downloaded without problems. * add image unscrambling * Update Lezhin.mjs * better version * remove the need for the bigint lib. Use native BigInt. * use pagesinfos toe get pages list, with scrollsinfos as fallback (both are identical, first one may not exists)
- Loading branch information
Showing
1 changed file
with
249 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters