Skip to content

[Imagevenue] Dead images raising error #8477

@taskhawk

Description

@taskhawk

Found links pointing to dead images in Imagevenue raise the following error:

$ gallery-dl --config-ignore -v "http://img137.imagevenue.com/img.php?loc=loc367%E2%84%91=20004_Alessandra_Ambrosio_Celebrity_City_Arriving_Mokai_Nightclub_3_12_367lo.jpg"
[gallery-dl][debug] Version 1.30.10
[gallery-dl][debug] Python 3.12.3 - Linux-6.14.0-33-generic-x86_64-with-glibc2.39
[gallery-dl][debug] requests 2.32.3 - urllib3 2.4.0
[gallery-dl][debug] Configuration Files []
[gallery-dl][debug] Starting DownloadJob for 'http://img137.imagevenue.com/img.php?loc=loc367%E2%84%91=20004_Alessandra_Ambrosio_Celebrity_City_Arriving_Mokai_Nightclub_3_12_367lo.jpg'
[imagevenue][debug] Using ImagevenueImageExtractor for 'http://img137.imagevenue.com/img.php?loc=loc367%E2%84%91=20004_Alessandra_Ambrosio_Celebrity_City_Arriving_Mokai_Nightclub_3_12_367lo.jpg'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): img137.imagevenue.com:443
[urllib3.connectionpool][debug] https://img137.imagevenue.com:443 "GET /img.php?loc=loc367%E2%84%91=20004_Alessandra_Ambrosio_Celebrity_City_Arriving_Mokai_Nightclub_3_12_367lo.jpg HTTP/1.1" 302 145
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): cdno-data.imagevenue.com:443
[urllib3.connectionpool][debug] https://cdno-data.imagevenue.com:443 "GET /no_image.jpg HTTP/1.1" 200 14396
[charset_normalizer][debug] Encoding detection: Unable to determine any suitable charset.
[imagevenue][error] An unexpected error occurred: ValueError - substring not found. Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
[imagevenue][debug] 
Traceback (most recent call last):
  File "/home/user/.gallery-dl/lib/python3.12/site-packages/gallery_dl/job.py", line 152, in run
    for msg in extractor:
  File "/home/user/.gallery-dl/lib/python3.12/site-packages/gallery_dl/extractor/imagehosts.py", line 58, in items
    url, filename = self.get_info(page)
                    ^^^^^^^^^^^^^^^^^^^
  File "/home/user/.gallery-dl/lib/python3.12/site-packages/gallery_dl/extractor/imagehosts.py", line 177, in get_info
    pos = page.index('class="card-body')
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ValueError: substring not found

Links found in https://www.bellazon.com/main/topic/56-candids/page/95/#findComment-805991

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions