mirror of
https://github.com/karl0ss/GoGoDownloader.git
synced 2025-04-26 19:49:23 +01:00
Update backend.py
Added refer to get around 403 forbidden error
This commit is contained in:
parent
187983b348
commit
fbf352579c
@ -82,6 +82,7 @@ class Download:
|
|||||||
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
|
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8",
|
||||||
"Accept-Language": "en-US,en;q=0.5",
|
"Accept-Language": "en-US,en;q=0.5",
|
||||||
"Accept-Encoding": "gzip, deflate",
|
"Accept-Encoding": "gzip, deflate",
|
||||||
|
"Referer": "https://gogoanime.pe/",
|
||||||
"Connection": "close",
|
"Connection": "close",
|
||||||
}
|
}
|
||||||
with req.get(url[1], headers=header, stream=True) as res:
|
with req.get(url[1], headers=header, stream=True) as res:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user