mirror of
https://github.com/RicterZ/nhentai.git
synced 2025-07-02 00:19:29 +02:00
Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
cac07a517e |
@ -69,7 +69,7 @@ class Downloader(Singleton):
|
|||||||
if response.status_code != 200:
|
if response.status_code != 200:
|
||||||
path = urlparse(url).path
|
path = urlparse(url).path
|
||||||
for mirror in constant.IMAGE_URL_MIRRORS:
|
for mirror in constant.IMAGE_URL_MIRRORS:
|
||||||
print(f'{mirror}{path}')
|
# print(f'{mirror}{path}')
|
||||||
mirror_url = f'{mirror}{path}'
|
mirror_url = f'{mirror}{path}'
|
||||||
response = request('get', mirror_url, stream=True,
|
response = request('get', mirror_url, stream=True,
|
||||||
timeout=self.timeout, proxies=proxy)
|
timeout=self.timeout, proxies=proxy)
|
||||||
|
Reference in New Issue
Block a user