Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
watch_later feed: Failed to parse JSON #4486
Comments
|
Works fine for me. Can you post the files you get when you add the |
|
Thank you for the report. I believe this issue to be fixed in youtube-dl 2014.12.16.1 and newer. See our FAQ if you need help updating. |
|
Thanks so much for the hasty fix, it's solved the issue :) Silly case On Tue, 16 Dec 2014 17:08 Philipp Hagemeister notifications@github.com
|
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [':ytwatchlater', '--playlist-start', '110', '--playlist-end', '110', '--add-metadata', '-f', 'bestvideo+bestaudio', '-o', '%(title)s.%(ext)s', '-n', '-c', '-k', '--verbose']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2014.12.15
[debug] Python version 2.7.8 - Linux-3.16.0-28-generic-x86_64-with-Ubuntu-14.10-utopic
[debug] exe versions: avconv 11-6, avprobe 11-6
[debug] Proxy map: {}
[youtube:watch_later] Downloading login page
[youtube:watch_later] Logging in
[youtube:watch_later] watch_later feed: Downloading page 1
ERROR: watch_later feed: Failed to parse JSON (caused by ValueError('Invalid \escape: line 1 column 98440 (char 98439)',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 402, in _parse_json
return json.loads(json_string)
File "/usr/lib/python2.7/json/init.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python2.7/json/decoder.py", line 382, in raw_decode
obj, end = self.scan_once(s, idx)
ValueError: Invalid \escape: line 1 column 98440 (char 98439)
Traceback (most recent call last):
File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 592, in extract_info
ie_result = ie.extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 243, in extract
return self._real_extract(url)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/youtube.py", line 1560, in _real_extract
'Downloading page %s' % i)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 396, in _download_json
json_string, video_id, transform_source=transform_source, fatal=fatal)
File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 406, in _parse_json
raise ExtractorError(errmsg, cause=ve)
ExtractorError: watch_later feed: Failed to parse JSON (caused by ValueError('Invalid \escape: line 1 column 98440 (char 98439)',)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type youtube-dl -U to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.