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.
No JSON object could be decoded - Investigation Discovery #14157
Comments
|
Has anyone looked into this issue? I am getting the same result with version 2017.09.24. |
|
On further inspection, my error is slightly different: youtube-dl --verbose --cookies idgo.txt -f best[height=720] https://www.investigationdiscovery.com/tv-shows/i-almost-got-away-with-it/full-episodes/got-to-get-bike-parts During handling of the above exception, another exception occurred: Traceback (most recent call last): |
|
I can't say for sure about ID, but Discovery and Science moved from Akamai to Uplynk yesterday. The @merval and @dare2 if this is still an issue could post the HTML of the downloaded webpage from the Discovery site (logged in if necessary) using the |
|
What's odd is I am able to get the Discovery site to work, but not Investigation Discovery I have attached the .dump files for both Discovery and ID Discovery: air-cylinder-rocket_https_-_dscusvod-vh.akamaihd.net_i_longform_2017-07_19_025032.064.01.001-103413-400k_110k_200k_600k_800k_1200k_1500k.mp4.csmil_master.m3u8hdnts=exp=1506628435~acl=_~hmac=063eb2fcf31_dea73899985cf894f74511b0ef62d9f8.txt ID: |
|
Interesting, that link on Discovery is still using Akamai, and I know for sure some others have transitioned to Uplynk. Today is the first day I've seen anything hosted on Uplynk. On your ID link you haven't signed in so the video link isn't available. |
|
Interesting. I am signed in (using Chrome), grabbed from the cookies.txt extension and pasted into idgo.txt: HTTP Cookie File for investigationdiscovery.com by Genuinous @Genuinous.To download cookies for this tab click here, or download all cookies.Usage Examples:1) wget -x --load-cookies cookies.txt "https://www.investigationdiscovery.com/tv-shows/i-almost-got-away-with-it/"2) curl --cookie cookies.txt "https://www.investigationdiscovery.com/tv-shows/i-almost-got-away-with-it/"3) aria2c --load-cookies cookies.txt "https://www.investigationdiscovery.com/tv-shows/i-almost-got-away-with-it/"www.investigationdiscovery.com FALSE /tv-shows/i-almost-got-away-with-it/full-episodes FALSE 0 user_experiment_id bbfab813-3253-4972-89b1-297a63aaf55a Then after I run this command: youtube-dl --cookies idgo.txt -F http://www.investigationdiscovery.com/tv-shows/i-almost-got-away-with-it/full-episodes/got-revenge --write-pages ...the contents of the idgo.txt file changes to: Netscape HTTP Cookie Filehttp://curl.haxx.se/rfc/cookie_spec.htmlThis is a generated file! Do not edit.www.investigationdiscovery.com FALSE / TRUE 1516997403 eosAd 57a9eb816b66d14b2ff8aedc with the same error message and dump file. |
|
The video requires signing in. Simply generating cookies through wget and then pointing youtube-dl at them will not work. The cookie holds the authentication token, so if you didn't sign in, your cookies are as good as anyone's that has visited the site for the first time. Try something such as the |
|
That's exactly what I did. I exported my cookies from my browser after I signed in. I also tried the --ap-mso option to no effect. |
|
I found the issue. I had been trying to use the investigationdiscovery.com site instead of the investigationdiscoverygo.com site. The "Go" site works fine with extracted cookies. The "non-Go" site does not. |
|
I'll have to test later as I'm not currently able to. If that is all it is, I'm going to feel pretty silly. |
|
Now if we could just get some activity or clarification on the TBS problem. 13658 :) |
|
@merval The URLs are different on the IDGO site. Take out the "full-episodes/" from the URL. |
|
Well. I appear to have noob'd the hell out of this one. That works without an issue. |
|
@dare2 I just ran into this same error, and spent a few hours trying to track down what the hell was going on. We're all n00bs down here, apparently. :-) |
Please follow the guide below
xinto all the boxes [ ] relevant to your issue (like this:[x])Make sure you are using the latest version: run
youtube-dl --versionand ensure your version is 2017.09.02. 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 the
-vflag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):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):
Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.
Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.