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

Discovery GO Json parse error #11226

Closed
useless2764 opened this issue Nov 18, 2016 · 1 comment
Closed

Discovery GO Json parse error #11226

useless2764 opened this issue Nov 18, 2016 · 1 comment
Labels

Comments

@useless2764
Copy link

@useless2764 useless2764 commented Nov 18, 2016

Please follow the guide below

  • You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
  • Put an x into all the boxes [ ] relevant to your issue (like that [x])
  • Use Preview tab to see how your issue will actually look like

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

  • [X ] I've verified and I assure that I'm running youtube-dl 2016.11.18

Before submitting an issue make sure you have:

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

What is the purpose of your issue?

  • Bug report (encountered problems with youtube-dl)
  • Site support request (request for adding support for a new site)
  • Feature request (request for a new functionality)
  • Question
  • Other

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 -v flag 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 ```):

PS C:\Users\..\downloads> youtube-dl --cookies cookies.txt https://www.discoverygo.com/gold-rush/misery-on-the-mountain/ --verbose
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--cookies', 'cookies.txt', 'https://www.discoverygo.com/gold-rush/misery-on-the-mountain/',
 '--verbose']
[debug] Encodings: locale cp1252, fs mbcs, out cp1252, pref cp1252
[debug] youtube-dl version 2016.11.18
[debug] Python version 3.5.2 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-81632-g09317e3, ffprobe N-81632-g09317e3
[debug] Proxy map: {}
ERROR: misery-on-the-mountain: Failed to parse JSON  (caused by JSONDecodeError("Expecting ',' delimiter: line 1 column
56555 (char 56554)",)); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version;
see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its comp
lete output.
Traceback (most recent call last):
  File "c:\python35-32\lib\site-packages\youtube_dl\extractor\common.py", line 559, in _parse_json
    return json.loads(json_string)
  File "c:\python35-32\lib\json\__init__.py", line 319, in loads
    return _default_decoder.decode(s)
  File "c:\python35-32\lib\json\decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "c:\python35-32\lib\json\decoder.py", line 355, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 56555 (char 56554)
Traceback (most recent call last):
  File "c:\python35-32\lib\site-packages\youtube_dl\extractor\common.py", line 559, in _parse_json
    return json.loads(json_string)
  File "c:\python35-32\lib\json\__init__.py", line 319, in loads
    return _default_decoder.decode(s)
  File "c:\python35-32\lib\json\decoder.py", line 339, in decode
    obj, end = self.raw_decode(s, idx=_w(s, 0).end())
  File "c:\python35-32\lib\json\decoder.py", line 355, in raw_decode
    obj, end = self.scan_once(s, idx)
json.decoder.JSONDecodeError: Expecting ',' delimiter: line 1 column 56555 (char 56554)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "c:\python35-32\lib\site-packages\youtube_dl\YoutubeDL.py", line 694, in extract_info
    ie_result = ie.extract(url)
  File "c:\python35-32\lib\site-packages\youtube_dl\extractor\common.py", line 357, in extract
    return self._real_extract(url)
  File "c:\python35-32\lib\site-packages\youtube_dl\extractor\discoverygo.py", line 53, in _real_extract
    display_id)
  File "c:\python35-32\lib\site-packages\youtube_dl\extractor\common.py", line 563, in _parse_json
    raise ExtractorError(errmsg, cause=ve)
youtube_dl.utils.ExtractorError: misery-on-the-mountain: Failed to parse JSON  (caused by JSONDecodeError("Expecting ','
 delimiter: line 1 column 56555 (char 56554)",)); please report this issue on https://yt-dl.org/bug . Make sure you are
using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose
 flag and include its complete output.�
                                                                                �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):


Description of your issue, suggested solution and other information

I'm currently getting a Failed to extract JSON error when trying to download from discoverygo.com, My guess is they made a change recently as downloading worked as expected last week.

@dstftw
Copy link
Collaborator

@dstftw dstftw commented Nov 18, 2016

Duplicate of #11219.

@dstftw dstftw closed this Nov 18, 2016
@dstftw dstftw added the duplicate label Nov 18, 2016
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.