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

Failed to parse JSON cause by ValueError #24073

Closed
jtindlebaum opened this issue Feb 18, 2020 · 0 comments
Closed

Failed to parse JSON cause by ValueError #24073

jtindlebaum opened this issue Feb 18, 2020 · 0 comments
Labels

Comments

@jtindlebaum
Copy link

@jtindlebaum jtindlebaum commented Feb 18, 2020

Hello,
I've used youtube-dl (previous versions) to download some videos from www.rtp.pt, but very recently I'm getting the following error:

D:\Users<UserName>\Videos>youtube-dl --verbose https://www.rtp.pt/play/p5494/e456600/momentos-de-encantamento
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'https://www.rtp.pt/play/p5494/e456600/momentos-de-encantamento']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2020.02.16
[debug] Python version 3.4.4 (CPython) - Windows-8.1-6.3.9600
[debug] exe versions: none
[debug] Proxy map: {}
[RTP] e456600: Downloading webpage
ERROR: e456600: Failed to parse JSON (caused by ValueError("Expecting ',' delimiter: line 11 column 11 (char 715)",)); please report this issue on https://yt-d
l.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 compl
ete output.
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpuz77jgzq\build\youtube_dl\extractor\common.py", line 899, in parse_json
File "C:\Python\Python34\lib\json_init
.py", line 318, in loads
File "C:\Python\Python34\lib\json\decoder.py", line 343, in decode
File "C:\Python\Python34\lib\json\decoder.py", line 359, in raw_decode
ValueError: Expecting ',' delimiter: line 11 column 11 (char 715)
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpuz77jgzq\build\youtube_dl\extractor\common.py", line 899, in parse_json
File "C:\Python\Python34\lib\json_init
.py", line 318, in loads
File "C:\Python\Python34\lib\json\decoder.py", line 343, in decode
File "C:\Python\Python34\lib\json\decoder.py", line 359, in raw_decode
ValueError: Expecting ',' delimiter: line 11 column 11 (char 715)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpuz77jgzq\build\youtube_dl\YoutubeDL.py", line 796, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpuz77jgzq\build\youtube_dl\extractor\common.py", line 530, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpuz77jgzq\build\youtube_dl\extractor\rtp.py", line 37, in _real_extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\ytdl-org\tmpuz77jgzq\build\youtube_dl\extractor\common.py", line 903, in _parse_json
youtube_dl.utils.ExtractorError: e456600: Failed to parse JSON (caused by ValueError("Expecting ',' delimiter: line 11 column 11 (char 715)",)); 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.

I'm using version 2020.02.16

Thank you.

@dstftw dstftw closed this Feb 18, 2020
@dstftw dstftw added the duplicate label Feb 18, 2020
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
2 participants
You can’t perform that action at this time.