Commit Graph

5 Commits

Author SHA1 Message Date
AwkwardPeak7 50b5d33614
Random User-Agent Refactor (#17059)
* lib-randomua

* NHentai: Random mobile ua

* Madara random UA overhaul

* MangaThemesia random UA overhaul

* MangaHub random UA overhaul

* build errors and warnings

* remove preference from Constellar

* change to singleton object

* network.client

* fix copy paste and chapter deep link

* exit early

* use data class and enum options

* missing import

* suggested changes

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

* re-add empty check to filters

* convert to interceptor

* update comment

Co-authored-by: Alessandro Jean <14254807+alessandrojean@users.noreply.github.com>

* update error message

* initialize client by lazy

* dont check on excluded Filters

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

* newlines

* move preference helper function into lib

* move preference helper function into lib x2

* move check to lib too

* move defaultRandomUserAgentType to constructor

* rename the interceptor

* organize the interceptor and preference stuff in different files

* hide custom ua setting when random ua is enabled

* English

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

* catch specific exception

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>

* setVisible()

fresh stuff

* setVisible()

fresh stuff

* change summary

* workaround

* Update error message

Co-authored-by: Alessandro Jean <14254807+alessandrojean@users.noreply.github.com>

* Update comment

Co-authored-by: Alessandro Jean <14254807+alessandrojean@users.noreply.github.com>

---------

Co-authored-by: AntsyLich <59261191+AntsyLich@users.noreply.github.com>
Co-authored-by: Alessandro Jean <14254807+alessandrojean@users.noreply.github.com>
2023-07-15 19:52:35 -03:00
Luqman 50b91629e9
MangaHub Factory: get Edo Tensei (#14633)
* MangaHub Family: get Edo Tensei

- back to scrapping
- add user agent randomizer(latest chrome)
- make selector more general
- add back some source: MangaHub.io, MangaPanda.onl, MangaReader.site

* cleaning

* using less val

* Fix page list parse only max 6

* fix typo

* replace max pages algorithm and use call HEAD

Co-Authored-By: Vetle Ledaal <13540478+vetleledaal@users.noreply.github.com>

* MangaHub Family: get Edo Tensei

- back to scrapping
- add user agent randomizer(latest chrome)
- make selector more general
- add back some source: MangaHub.io, MangaPanda.onl, MangaReader.site

* cleaning

* using less val

* Fix page list parse only max 6

* fix typo

* replace max pages algorithm and use call HEAD

Co-Authored-By: Vetle Ledaal <13540478+vetleledaal@users.noreply.github.com>

* Update multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangahub/MangaHub.kt

Co-authored-by: Vetle Ledaal <vetle.ledaal@gmail.com>

* Update MangaHub.kt

Co-Authored-By: Vetle Ledaal <13540478+vetleledaal@users.noreply.github.com>

* Update multisrc/src/main/java/eu/kanade/tachiyomi/multisrc/mangahub/MangaHub.kt

Co-authored-by: Vetle Ledaal <vetle.ledaal@gmail.com>

* add back imageUrlRequest

Co-authored-by: Vetle Ledaal <13540478+vetleledaal@users.noreply.github.com>
Co-authored-by: Vetle Ledaal <vetle.ledaal@gmail.com>
2022-12-26 22:42:09 -03:00
Vetle Ledaal 1f6f5534bf
Remove MangaHub (#13174)
* Remove MangaHub

* escape regex

* [skip ci] dedupe
2022-08-24 17:45:05 -03:00
arkon 1905256b08
Refactor to use app-provided rate limiting interceptors (#12089) 2022-06-05 17:51:18 -04:00
Vetle Ledaal 651480617d
MangaHub: move to multisrc (#10735)
* MangaHub: move to multisrc

* MangaHub: add rate limiting

* MangaHub: add icons

* Fix duplicate manga

* MangaHub: Fix non-mangahub.io sources

* MangaHub: Add isNsfw where appropriate
2022-02-06 16:17:40 -05:00