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

[ondemandkorea] ERROR: Failed to parse JSON #11947

Closed
godly-devotion opened this issue Feb 2, 2017 · 0 comments
Closed

[ondemandkorea] ERROR: Failed to parse JSON #11947

godly-devotion opened this issue Feb 2, 2017 · 0 comments

Comments

@godly-devotion
Copy link

@godly-devotion godly-devotion commented Feb 2, 2017

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2017.02.01. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

  • I've verified and I assure that I'm running youtube-dl 2017.02.01

Before submitting an issue make sure you have:

  • At least skimmed through README and most notably FAQ and BUGS sections
  • Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)

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:

$ youtube-dl.exe --verbose http://www.ondemandkorea.com/lets-eat-dinner-together-e16.html
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['--verbose', 'http://www.ondemandkorea.com/lets-eat-dinner-together-e16.html']
[debug] Encodings: locale cp1252, fs mbcs, out cp1252, pref cp1252
[debug] youtube-dl version 2017.02.01
[debug] Python version 3.4.4 - Windows-7-6.1.7601-SP1
[debug] exe versions: none
[debug] Proxy map: {}
[OnDemandKorea] lets-eat-dinner-together-e16: Downloading webpage
ERROR: lets-eat-dinner-together-e16: Failed to parse JSON  (caused by ValueError("Expecting ',' delimiter: line 12 column 30 (char 352)",)); 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 "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4a0k6hcr\build\youtube_dl\extractor\common.py", line 571, 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 12 column 30 (char 352)
Traceback (most recent call last):
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4a0k6hcr\build\youtube_dl\extractor\common.py", line 571, 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 12 column 30 (char 352)

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\tmp4a0k6hcr\build\youtube_dl\YoutubeDL.py", line 694, in extract_info
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4a0k6hcr\build\youtube_dl\extractor\common.py", line 369, in extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4a0k6hcr\build\youtube_dl\extractor\ondemandkorea.py", line 51, in _real_extract
  File "C:\Users\dst\AppData\Roaming\Build archive\youtube-dl\rg3\tmp4a0k6hcr\build\youtube_dl\extractor\common.py", line 575, in _parse_json
youtube_dl.utils.ExtractorError: lets-eat-dinner-together-e16: Failed to parse JSON  (caused by ValueError("Expecting ',' delimiter: line 12 column 30 (char 352)",)); 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.
...
<end of log>

Description of your issue, suggested solution and other information

When attempting to play any videos from OnDemandKorea.com, youtube-dl returns an error as shown above. Interestingly enough, this occurs only on Windows 7 (64-bit) and not on Windows 10 (64-bit).

@dstftw dstftw closed this in 4195096 Feb 2, 2017
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.