Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Blogspot downloader no longer works #5252

Closed
UnforeseenOcean opened this issue Feb 29, 2024 · 1 comment
Closed

Blogspot downloader no longer works #5252

UnforeseenOcean opened this issue Feb 29, 2024 · 1 comment

Comments

@UnforeseenOcean
Copy link

The downloader worked fine before, but after the update, it is broken and no longer works.

Error log:

Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "C:\Users\Torbjorn\AppData\Local\Programs\Python\Python312\Scripts\gallery-dl.exe\__main__.py", line 7, in <module>
  File "C:\Users\Torbjorn\AppData\Local\Programs\Python\Python312\Lib\site-packages\gallery_dl\__init__.py", line 277, in main
    status = jobtype(url).run()
             ^^^^^^^^^^^^
  File "C:\Users\Torbjorn\AppData\Local\Programs\Python\Python312\Lib\site-packages\gallery_dl\job.py", line 258, in __init__
    Job.__init__(self, url, parent)
  File "C:\Users\Torbjorn\AppData\Local\Programs\Python\Python312\Lib\site-packages\gallery_dl\job.py", line 26, in __init__
    extr = extractor.find(extr)
           ^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Torbjorn\AppData\Local\Programs\Python\Python312\Lib\site-packages\gallery_dl\extractor\__init__.py", line 208, in find
    return cls(match)
           ^^^^^^^^^^
  File "C:\Users\Torbjorn\AppData\Local\Programs\Python\Python312\Lib\site-packages\gallery_dl\extractor\common.py", line 734, in __init__
    self._init_category(match)
  File "C:\Users\Torbjorn\AppData\Local\Programs\Python\Python312\Lib\site-packages\gallery_dl\extractor\common.py", line 743, in _init_category
    self.root = text.root_from_url(match.group(0))
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\Torbjorn\AppData\Local\Programs\Python\Python312\Lib\site-packages\gallery_dl\text.py", line 63, in root_from_url
    return url[:url.index("/", 8)]
                ^^^^^^^^^^^^^^^^^
ValueError: substring not found

Test URL: https://middleearthminis.blogspot.com

@mikf
Copy link
Owner

mikf commented Feb 29, 2024

Add a / after the URL.
https://middleearthminis.blogspot.com/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants