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.
"Failed to parse JSON' error #12945
"Failed to parse JSON' error #12945
Comments
|
Sorry, this format was a little confusing at first. I believe I accidentally submitted report before completing form as requested. |
|
Sorry again, my first use of github. I unintenionally closed and am now re-opening. |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like that [x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2017.05.01. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.Before submitting an issue make sure you have:
What is the purpose of your issue?
The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue
If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add
-vflag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):C:\Users\Brad\Downloads\rtmpdump>youtube-dl "http://www.foxsports.com/nascar/rac
ehub/video?vid=907656771601" --verbose
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['http://www.foxsports.com/nascar/racehub/video?vid=9
07656771601', '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2017.05.01
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-81989-g7845c13, ffprobe N-81989-g7845c13, rtmpdum
p 2.4
[debug] Proxy map: {}
[FoxSports] video?vid=907656771601: Downloading webpage
ERROR: video?vid=907656771601: Failed to parse JSON (caused by ValueError('Expe
cting property name enclosed in double quotes: line 1 column 2 (char 1)',)); ple
ase report this issue on https://yt-dl.org/bug . Make sure you are using the lat
est 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 "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp0io2aq9r\bu
ild\youtube_dl\extractor\common.py", line 672, 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 property name enclosed in double quotes: line 1 column 2 (
char 1)
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp0io2aq9r\bu
ild\youtube_dl\extractor\common.py", line 672, 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 property name enclosed in double quotes: line 1 column 2 (
char 1)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp0io2aq9r\bu
ild\youtube_dl\YoutubeDL.py", line 760, in extract_info
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp0io2aq9r\bu
ild\youtube_dl\extractor\common.py", line 429, in extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp0io2aq9r\bu
ild\youtube_dl\extractor\foxsports.py", line 36, in _real_extract
File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp0io2aq9r\bu
ild\youtube_dl\extractor\common.py", line 676, in _parse_json
youtube_dl.utils.ExtractorError: video?vid=907656771601: Failed to parse JSON (
caused by ValueError('Expecting property name enclosed in double quotes: line 1
column 2 (char 1)',)); 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 t
o call youtube-dl with the --verbose flag and include its complete output.