mirror of
https://github.com/karl0ss/GoGoDownloader.git
synced 2025-04-28 12:23:41 +01:00
commit
2fc41cfa56
16
backend.py
16
backend.py
@ -187,21 +187,7 @@ class gogoanime:
|
|||||||
overwrite = overwrite_downloads
|
overwrite = overwrite_downloads
|
||||||
dl = Downloader(
|
dl = Downloader(
|
||||||
max_conn=max_concurrent_downloads(self.config["MaxConcurrentDownloads"]),
|
max_conn=max_concurrent_downloads(self.config["MaxConcurrentDownloads"]),
|
||||||
overwrite=overwrite,
|
overwrite=overwrite)
|
||||||
headers=dict(
|
|
||||||
[
|
|
||||||
(
|
|
||||||
"User-Agent",
|
|
||||||
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/97.0.4692.71 Safari/537.36",
|
|
||||||
),
|
|
||||||
("authority", "gogo-cdn.com"),
|
|
||||||
(
|
|
||||||
"referer",
|
|
||||||
f"https://gogoanime.{self.config['CurrentGoGoAnimeDomain']}/",
|
|
||||||
),
|
|
||||||
]
|
|
||||||
),
|
|
||||||
)
|
|
||||||
|
|
||||||
for link in file_list:
|
for link in file_list:
|
||||||
if link is not None:
|
if link is not None:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user