you-get icon indicating copy to clipboard operation
you-get copied to clipboard

bandcamp download json error

Open Tombaysbot opened this issue 4 years ago • 1 comments

ISSUE:

tried to download any bandcamp album, nothing works. --debug:

you-get: version 0.4.1500, a tiny downloader that scrapes the web.
you-get: Namespace(URL=['https://4everfreebrony.bandcamp.com/album/fireside'], auto_rename=False, cookies=None, debug=True, extractor_proxy=None, force=False, format=None, help=False, http_proxy=None, info=False, input_file=None, insecure=False, itag=None, json=False, no_caption=False, no_merge=False, no_proxy=False, output_dir='.', output_filename=None, password=None, player=None, playlist=False, skip_existing_file_size_check=False, socks_proxy=None, stream=None, timeout=600, url=False, version=False)
Traceback (most recent call last):
  File "/usr/local/bin/you-get", line 8, in <module>
    sys.exit(main())
  File "/home/tombays/.local/lib/python3.8/site-packages/you_get/__main__.py", line 92, in main
    main(**kwargs)
  File "/home/tombays/.local/lib/python3.8/site-packages/you_get/common.py", line 1798, in main
    script_main(any_download, any_download_playlist, **kwargs)
  File "/home/tombays/.local/lib/python3.8/site-packages/you_get/common.py", line 1680, in script_main
    download_main(
  File "/home/tombays/.local/lib/python3.8/site-packages/you_get/common.py", line 1327, in download_main
    download(url, **kwargs)
  File "/home/tombays/.local/lib/python3.8/site-packages/you_get/common.py", line 1789, in any_download
    m.download(url, **kwargs)
  File "/home/tombays/.local/lib/python3.8/site-packages/you_get/extractors/bandcamp.py", line 9, in bandcamp_download
    trackinfo = json.loads(r1(r'(\[{"(video_poster_url|video_caption)".*}\]),', html))
  File "/usr/lib/python3.8/json/__init__.py", line 341, in loads
    raise TypeError(f'the JSON object must be str, bytes or bytearray, '
TypeError: the JSON object must be str, bytes or bytearray, not NoneType

Tombaysbot avatar Dec 30 '20 23:12 Tombaysbot

Hello @Tombaysbot, Thanks for the Pull Request. We :heart: our contributors! Please wait for one of our human maintainers to review your patches. This may take a few days to weeks. Also, please understand that although your Pull Request may or may not be eventually merged, we value all contributions equally.

祝您健康!

soimort-bot avatar Dec 30 '20 23:12 soimort-bot