remove debug statements
This commit is contained in:
parent
91ef34726c
commit
e93fd69ba8
@ -27,13 +27,10 @@ def get(url: str, write_dir: str, delete=True):
|
|||||||
url = 'https://imgur.com/' + url
|
url = 'https://imgur.com/' + url
|
||||||
found_url = ''
|
found_url = ''
|
||||||
|
|
||||||
print('it not album', url)
|
|
||||||
album = False
|
album = False
|
||||||
if "gallery" in url:
|
if "gallery" in url:
|
||||||
url = url.replace("gallery", "a")
|
url = url.replace("gallery", "a")
|
||||||
print('it album')
|
|
||||||
if "/a/" in url:
|
if "/a/" in url:
|
||||||
print('it album')
|
|
||||||
album = True
|
album = True
|
||||||
if not url.endswith("blog"):
|
if not url.endswith("blog"):
|
||||||
url += "/layout/blog"
|
url += "/layout/blog"
|
||||||
|
Loading…
Reference in New Issue
Block a user