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

Error trying to download a tumblr blog #193

Closed
KaMyKaSii opened this issue Mar 16, 2019 · 0 comments
Closed

Error trying to download a tumblr blog #193

KaMyKaSii opened this issue Mar 16, 2019 · 0 comments
Labels

Comments

@KaMyKaSii
Copy link

KaMyKaSii commented Mar 16, 2019

I'm using the lastest gallery-dl from master branch

$ gallery-dl --verbose http://brainoddity.tumblr.com
[gallery-dl][debug] Version 1.8.0
[gallery-dl][debug] Python 3.7.2 - Linux-4.4.78-perf+-aarch64-with-libc
[gallery-dl][debug] requests 2.20.1 - urllib3 1.24.1
[gallery-dl][debug] Starting DownloadJob for 'http://brainoddity.tumblr.com'
[tumblr][debug] Using api_key authentication
[tumblr][debug] Using TumblrUserExtractor for 'http://brainoddity.tumblr.com'
[urllib3.connectionpool][debug] Starting new HTTPS connection (1): api.tumblr.com:443
[urllib3.connectionpool][debug] https://api.tumblr.com:443 "GET /v2/blog/brainoddity.tumblr.com/posts?offset=0&limit=50&reblog_info=true&api_key=O3hU2tMi5e4Qs5t3vezEi6L0qRORJ5y9oUpSGsrWu8iA3UCc3B HTTP/1.1" 200 14226
[urllib3.connectionpool][debug] https://api.tumblr.com:443 "GET /v2/blog/brainoddity.tumblr.com/avatar?size=512&api_key=O3hU2tMi5e4Qs5t3vezEi6L0qRORJ5y9oUpSGsrWu8iA3UCc3B HTTP/1.1" 200 17113
[chardet.charsetprober][debug] SHIFT_JIS Japanese prober hit error at byte 61
[chardet.charsetprober][debug] EUC-JP Japanese prober hit error at byte 0
[chardet.charsetprober][debug] GB2312 Chinese prober hit error at byte 33
[chardet.charsetprober][debug] EUC-KR Korean prober hit error at byte 0
[chardet.charsetprober][debug] CP949 Korean prober hit error at byte 32
[chardet.charsetprober][debug] Big5 Chinese prober hit error at byte 0
[chardet.charsetprober][debug] EUC-TW Taiwan prober hit error at byte 0
[chardet.charsetprober][debug] KOI8-R confidence = 0.032090026649353516, below negative shortcut threshhold 0.05
[chardet.charsetprober][debug] ISO-8859-5 confidence = 0.04426187605640029, below negative shortcut threshhold 0.05
[chardet.charsetprober][debug] IBM866 confidence = 0.045901753893047764, below negative shortcut threshhold 0.05
[chardet.charsetprober][debug] IBM855 confidence = 0.045549786717880486, below negative shortcut threshhold 0.05
[chardet.charsetprober][debug] ISO-8859-5 confidence = 0.04209935747456179, below negative shortcut threshhold 0.05
[chardet.charsetprober][debug] windows-1251 confidence = 0.04913933236352961, below negative shortcut threshhold 0.05
[chardet.charsetprober][debug] ISO-8859-9 confidence = 0.03608183024906905, below negative shortcut threshhold 0.05
[chardet.charsetprober][debug] windows-1251 Russian confidence = 0.057060059387649326
[chardet.charsetprober][debug] KOI8-R not active
[chardet.charsetprober][debug] ISO-8859-5 not active
[chardet.charsetprober][debug] MacCyrillic Russian confidence = 0.06055012641024155
[chardet.charsetprober][debug] IBM866 not active
[chardet.charsetprober][debug] IBM855 not active
[chardet.charsetprober][debug] ISO-8859-7 Greek confidence = 0.072514008142608
[chardet.charsetprober][debug] windows-1253 Greek confidence = 0.07359168577273488
[chardet.charsetprober][debug] ISO-8859-5 not active
[chardet.charsetprober][debug] windows-1251 not active
[chardet.charsetprober][debug] TIS-620 Thai confidence = 0.04150451057466478
[chardet.charsetprober][debug] ISO-8859-9 not active
[chardet.charsetprober][debug] windows-1255 Hebrew confidence = 0.0
[chardet.charsetprober][debug] windows-1255 Hebrew confidence = 0.0640845057959324
[chardet.charsetprober][debug] windows-1255 Hebrew confidence = 0.06473510991568807
[tumblr][error] An unexpected error occurred: JSONDecodeError - Expecting value: line 1 column 1 (char 0). Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
[tumblr][debug]
Traceback (most recent call last):
  File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/gallery_dl/job.py", line 54, in run
    for msg in self.extractor:
  File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/gallery_dl/extractor/tumblr.py", line 81, in items
    url = self.api.avatar(self.blog)
  File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/gallery_dl/extractor/tumblr.py", line 338, in avatar
    data = self._call(blog, "avatar", params, allow_redirects=False)
  File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/gallery_dl/extractor/tumblr.py", line 371, in _call
    data = response.json()
  File "/data/data/com.termux/files/usr/lib/python3.7/site-packages/requests/models.py", line 897, in json
    return complexjson.loads(self.text, **kwargs)
  File "/data/data/com.termux/files/usr/lib/python3.7/json/__init__.py", line 348, in loads
    return _default_decoder.decode(s)
  File "/data/data/com.termux/files/usr/lib/python3.7/json/decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/data/data/com.termux/files/usr/lib/python3.7/json/decoder.py", line 355, in raw_decode
    raise JSONDecodeError("Expecting value", s, err.value) from None
  json.decoder.JS
@mikf mikf added the bug label Mar 17, 2019
@mikf mikf closed this as completed in fb14f80 Mar 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants