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

[ted] can't download playlist: JSONDecodeError: Expecting property name enclosed in double quotes #20844

Closed
jwilk opened this issue Apr 26, 2019 · 0 comments

Comments

@jwilk
Copy link
Contributor

@jwilk jwilk commented Apr 26, 2019

$ youtube-dl -v test:Ted_3
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'test:Ted_3']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2019.04.24
[debug] Python version 3.5.3 (CPython) - Linux-2.6.32-042stab134.8-x86_64-with-debian-9.8
[debug] exe versions: ffmpeg 3.2.12-1, ffprobe 3.2.12-1
[debug] Proxy map: {}
[TestURL] Test URL: http://www.ted.com/playlists/who_are_the_hackers
[ted] who_are_the_hackers: Downloading playlist webpage
Traceback (most recent call last):
  File "/home/jwilk/.local/bin/youtube-dl", line 11, in <module>
    sys.exit(main())
  File "/home/jwilk/.local/lib/python3.5/site-packages/youtube_dl/__init__.py", line 474, in main
    _real_main(argv)
  File "/home/jwilk/.local/lib/python3.5/site-packages/youtube_dl/__init__.py", line 464, in _real_main
    retcode = ydl.download(all_urls)
  File "/home/jwilk/.local/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 2008, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/home/jwilk/.local/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 807, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/home/jwilk/.local/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 868, in process_ie_result
    extra_info=extra_info)
  File "/home/jwilk/.local/lib/python3.5/site-packages/youtube_dl/YoutubeDL.py", line 796, in extract_info
    ie_result = ie.extract(url)
  File "/home/jwilk/.local/lib/python3.5/site-packages/youtube_dl/extractor/common.py", line 529, in extract
    ie_result = self._real_extract(url)
  File "/home/jwilk/.local/lib/python3.5/site-packages/youtube_dl/extractor/ted.py", line 146, in _real_extract
    return self._playlist_videos_info(url, name)
  File "/home/jwilk/.local/lib/python3.5/site-packages/youtube_dl/extractor/ted.py", line 153, in _playlist_videos_info
    info = self._extract_info(webpage)
  File "/home/jwilk/.local/lib/python3.5/site-packages/youtube_dl/extractor/ted.py", line 133, in _extract_info
    return json.loads(info_json)
  File "/usr/lib/python3.5/json/__init__.py", line 319, in loads
    return _default_decoder.decode(s)
  File "/usr/lib/python3.5/json/decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "/usr/lib/python3.5/json/decoder.py", line 355, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting property name enclosed in double quotes: line 2 column 3 (char 4)
@dstftw dstftw closed this in c2ee6fa Jun 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.