dosage icon indicating copy to clipboard operation
dosage copied to clipboard

Broken comic - TheGamerCat

Open Typhonragewind opened this issue 2 years ago • 3 comments

This one seems to be broken, but i think the fault lies in the comic server itself and not in dosage, as i get this error:

TheGamerCat> ERROR: ("Connection broken: InvalidChunkLength(got length b'', 0 bytes read)", InvalidChunkLength(got length b'', 0 bytes read))

Don't know if there is anything that can be done about it, but i'm leaving the report here

I tried to rewrite the class to use the basicparser, and i still get the same error

Typhonragewind avatar Jun 01 '23 14:06 Typhonragewind

That cannot be fixed by using a different parser, the server sends invalid chunked responses...

This also fails:

$ curl --http1.1 --fail-with-body -o pawsed.html https://thegamercat.com/comic/pawsed/
curl: (18) transfer closed with outstanding read data remaining

Even HTTP2 fails:

$ curl --fail-with-body -o pawsed.html https://thegamercat.com/comic/pawsed/
curl: (92) HTTP/2 stream 1 was not closed cleanly: INTERNAL_ERROR (err 2)

:disappointed:

TobiX avatar Jun 02 '23 00:06 TobiX

I was experimenting with it a bit more and there was one instance where it succeeded (just by retrying multiple times), so perhaps a multiple retry approach MIGHT work, as ugly as it sounds

Typhonragewind avatar Jun 02 '23 10:06 Typhonragewind