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

HitomiGalleryExtractor #962

Closed
JuniorGarciaRodriguez opened this issue Aug 27, 2020 · 1 comment
Closed

HitomiGalleryExtractor #962

JuniorGarciaRodriguez opened this issue Aug 27, 2020 · 1 comment

Comments

@JuniorGarciaRodriguez
Copy link

$ gallery-dl https://hitomi.la/doujinshi/%E7%AE%A1%E7%90%86%E4%BA%BA%E3%81%95%E3%82%93-%E6%97%A5%E6%9C%AC%E8%AA%9E-1718412.html --verbose
[gallery-dl][debug] Version 1.14.4
[gallery-dl][debug] Python 3.8.0 - Windows-10-10.0.19041-SP0
[gallery-dl][debug] requests 2.24.0 - urllib3 1.25.10
[gallery-dl][debug] Starting DownloadJob for 'https://hitomi.la/doujinshi/%E7%AE%A1%E7%90%86%E4%BA%BA%E3%81%95%E3%82%93-%E6%97%A5%E6%9C%AC%E8%AA%9E-1718412.html'
[hitomi][debug] Using HitomiGalleryExtractor for 'https://hitomi.la/doujinshi/%E7%AE%A1%E7%90%86%E4%BA%BA%E3%81%95%E3%82%93-%E6%97%A5%E6%9C%AC%E8%AA%9E-1718412.html'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): ltn.hitomi.la:443
[urllib3.connectionpool][debug] https://ltn.hitomi.la:443 "GET /galleries/1718412.js HTTP/1.1" 200 1896
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): hitomi.la:443
[urllib3.connectionpool][debug] https://hitomi.la:443 "GET /galleries/1718412.html HTTP/1.1" 200 330
[hitomi][error] An unexpected error occurred: AttributeError - 'NoneType' object has no attribute 'startswith'. Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
[hitomi][debug]
Traceback (most recent call last):
File "c:\python\python38\lib\site-packages\gallery_dl\job.py", line 64, in run
for msg in self.extractor:
File "c:\python\python38\lib\site-packages\gallery_dl\extractor\common.py", line 377, in items
data = self.metadata(page)
File "c:\python\python38\lib\site-packages\gallery_dl\extractor\hitomi.py", line 75, in metadata
data.update(self._data_from_gallery_page(info))
File "c:\python\python38\lib\site-packages\gallery_dl\extractor\hitomi.py", line 115, in _data_from_gallery_page
if not url.startswith("http"):
AttributeError: 'NoneType' object has no attribute 'startswith'

@mikf
Copy link
Owner

mikf commented Aug 27, 2020

This was already fixed in 7140fe7, but hasn't been put into release yet.
Wait till this weekend for the next release or install the dev version:

$ python3 -m pip install --upgrade https://github.com/mikf/gallery-dl/archive/master.tar.gz

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