Feat: added comment
This commit is contained in:
2
main.py
2
main.py
@@ -26,7 +26,7 @@ def get_urls(names: List[List[str]]) -> List[str]:
|
|||||||
if url != '':
|
if url != '':
|
||||||
add_url_to_file(url)
|
add_url_to_file(url)
|
||||||
download_image(url, name)
|
download_image(url, name)
|
||||||
time.sleep(0.68)
|
time.sleep(0.68) # Time to not get banned on shikimori API
|
||||||
|
|
||||||
|
|
||||||
def download_imgs(urls: List[str]):
|
def download_imgs(urls: List[str]):
|
||||||
|
|||||||
Reference in New Issue
Block a user