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

[bcy][error] An unexpected error occurred: JSONDecodeError - Expecting ',' #3321

Closed
valdearg opened this issue Nov 28, 2022 · 1 comment
Closed
Labels

Comments

@valdearg
Copy link

Using the following command:

gallery-dl https://bcy.net/u/3123050683305639 --write-metadata --verbose

When hitting one link gives the following area:

* K:\gallery-dl\bcy\3123050683305639 是赖赖吖\7169021311098821663 211755873.jpg
[urllib3.connectionpool][debug] https://p3-bcy-sign.bcyimg.com:443 "GET /banciyuan/0b3f5a3d6ca14f06b88e4711b9c0a25a~tplv-bcyx-yuan-logo-v1:wqnmmK_otZbotZblkJYK5Y2K5qyh5YWDIC0gQUNH54ix5aW96ICF56S-5Yy6.image?x-expires=1685747577&x-signature=Vps2Mic%2F3e%2Bufy10eKwcM9vbDb8%3D HTTP/1.1" 200 7441751
* K:\gallery-dl\bcy\3123050683305639 是赖赖吖\7169021311098821663 211755874.jpg
[urllib3.connectionpool][debug] https://bcy.net:443 "GET /item/detail/7166939271872388110 HTTP/1.1" 200 None
[bcy][error] An unexpected error occurred: JSONDecodeError - Expecting ',' delimiter: line 1 column 11273 (char 11272). Please run gallery-dl again with the --verbose flag, copy its output and report this issue on https://github.com/mikf/gallery-dl/issues .
[bcy][debug]
Traceback (most recent call last):
  File "C:\Python\Python310\lib\site-packages\gallery_dl\job.py", line 83, in run
    for msg in extractor:
  File "C:\Python\Python310\lib\site-packages\gallery_dl\extractor\bcy.py", line 80, in items
    multi = self._data_from_post(
  File "C:\Python\Python310\lib\site-packages\gallery_dl\extractor\bcy.py", line 99, in _data_from_post
    return json.loads(
  File "C:\Python\Python310\lib\json\__init__.py", line 346, in loads
    return _default_decoder.decode(s)
  File "C:\Python\Python310\lib\json\decoder.py", line 337, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "C:\Python\Python310\lib\json\decoder.py", line 353, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 11273 (char 11272)
@mikf mikf added the bug label Nov 30, 2022
@NimbusCloudVoid
Copy link

same for Subscribestar, got the same error

mikf added a commit that referenced this issue Dec 1, 2022
@mikf mikf closed this as completed Dec 2, 2022
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

3 participants