diff options
Diffstat (limited to 'get_images.py')
-rw-r--r-- | get_images.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/get_images.py b/get_images.py index bd1efd3..817b9c1 100644 --- a/get_images.py +++ b/get_images.py @@ -87,9 +87,7 @@ def get_num_pages(tags): def fix_source_url(url): if "pixiv.net" in url or "pximg.net" in url: - if requests.get(url).status_code == 403: - return "https://www.pixiv.net/en/artworks/%s" % url.split("/")[-1][:8] - + return "https://www.pixiv.net/en/artworks/%s" % url.split("/")[-1][:8] return url def append_blacklisted(id_): |