Skittyblock / aidoku-community-sources

Public sources for the Aidoku application
Apache License 2.0
444 stars 158 forks source link

tumangaonline source is broken #503

Closed Ludxns closed 11 months ago

Ludxns commented 1 year ago

It does not load any manga, the reload button appears in the center of the screen but does not do anything. IMG_8813

Shinji3rd commented 1 year ago

Same. You can browse and search, no issues, but you can’t open any manga. First it was reported that this happened only with manwha, but now it doesn’t matter what manga you try to open, it’s always a blank screen with the reload button.

jsagredo-scott commented 1 year ago

as far as I could check, the images can't be displayed now because of some nginx rule, apparently it's because of the "Referer".

curl without referer:

curl https://img1.japanreader.com/uploads/20231114/4400daa5e7840d55a216c7cda7c1c95b/7b2f084e.webp -I
HTTP/1.1 403 Forbidden
Server: nginx
Date: Wed, 15 Nov 2023 16:07:01 GMT
Content-Type: text/html
Content-Length: 146
Connection: keep-alive
Vary: Accept-Encoding
Strict-Transport-Security: max-age=31536000

curl with Referer:

curl 'https://img1.japanreader.com/uploads/20231114/4400daa5e7840d55a216c7cda7c1c95b/7b2f084e.webp' \
  -H 'Referer: https://visortmo.com/viewer/4400daa5e7840d55a216c7cda7c1c95b/paginated/2' \
  -H 'User-Agent: Mozilla/5.0 (iPhone; CPU iPhone OS 13_2_3 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/13.0.3 Mobile/15E148 Safari/604.1' -I
HTTP/1.1 200 OK
Server: nginx
Date: Wed, 15 Nov 2023 16:07:43 GMT
Content-Type: image/webp
Content-Length: 377712
Connection: keep-alive
Last-Modified: Tue, 14 Nov 2023 15:31:36 GMT
ETag: "655392d8-5c370"
Image: s204
Strict-Transport-Security: max-age=31536000
X-Frame-Options: SAMEORIGIN
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block
Cache-Control: public, max-age=31536000, s-maxage=31536000
X-Cache-Status: MISS
Accept-Ranges: bytes