BitAnime icon indicating copy to clipboard operation
BitAnime copied to clipboard

Updated headers to bypass ForbiddenResponse by CDN

Open FireHead90544 opened this issue 4 years ago • 4 comments

Recently, gogoanime's cdn (anicdn thingy) has been showing Forbidden | 403 error, so I captured the new required headers from the network tab in dev tools. Just updated them in this PR, as the downloader was not working many a times due to this, the new headers are working perfectly now.

FireHead90544 avatar Oct 14 '21 10:10 FireHead90544

Thanks for fixing the bug man. Unfortunately I can't merge it right now (my internet connection got cut off) I'll review it once my connection is back. Thanks again.

sh1nobuu avatar Oct 15 '21 03:10 sh1nobuu

Thanks for fixing the bug man. Unfortunately I can't merge it right now (my internet connection got cut off) I'll review it once my connection is back. Thanks again.

Yeah sure mate, no worries. Btw, if I get time I'll fix some type-hinting too as the current one is having some errors, for example, instead of

list[str]

this should be used

from typing import List
List[str]

Still thanks for reviewing :)

FireHead90544 avatar Oct 16 '21 06:10 FireHead90544

Thanks for fixing the bug man. Unfortunately I can't merge it right now (my internet connection got cut off) I'll review it once my connection is back. Thanks again.

Yeah sure mate, no worries. Btw, if I get time I'll fix some type-hinting too as the current one is having some errors, for example, instead of

list[str]

this should be used

from typing import List
List[str]

Still thanks for reviewing :)

Thanks for fixing the bugs mate. I didn't know about the type hinting i thought it's the right way I'll fix it on my code (local repo).

sh1nobuu avatar Oct 19 '21 06:10 sh1nobuu

Thanks for fixing the bug man. Unfortunately I can't merge it right now (my internet connection got cut off) I'll review it once my connection is back. Thanks again.

Yeah sure mate, no worries. Btw, if I get time I'll fix some type-hinting too as the current one is having some errors, for example, instead of

list[str]

this should be used

from typing import List
List[str]

Still thanks for reviewing :)

Thanks for fixing the bugs mate. I didn't know about the type hinting i thought it's the right way I'll fix it on my code (local repo).

No worries bro, good luck, welcome :)

FireHead90544 avatar Oct 19 '21 06:10 FireHead90544