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.
ERROR: G8d2xyXP7DA: Failed to parse JSON (caused by ValueError('Expecting value : line 1 column 1 (char 0)',)); when downloading video from www.tudou.com #12214
Comments
|
Downloading video which was uploaded before 2017/2/19 with same environment is OK. (this is an incorrect conclusion, currently, only some of links can be downloaded, whatever they are uploaded before/after 2017/2/19) For example: youtube-dl.exe --download-archive 1.txt "http://www.tudou.com/programs/view/tBGssIQnOq0/" works well. |
|
I can confirm tudou is broken, but it's not restricted to "video which was uploaded before 2017/2/19" here. http://www.tudou.com/programs/view/YTaG61s7Usg I tried these two quickly, can't download either (they're uploaded in 2010). |
|
Yes, I did try an older link which was uploaded in 2016 and can be downloaded before, but they are not work now. Seems this error is related with tudou, not youtube-dl? |
|
Yeah, for the two videos I listed, I actually downloaded them succesfully half a month ago. It's likely Tudou changed something in their end. Nevertheless, it's the nature of web service, we have to adapt. |
|
Very sorry--I didn't notice this issue and didn't think somebody else would use Tudou with youtube-dl. Anyway, hopefully this issue willl get fixed. |
|
Never mind. youtube-dl is greate, we always using it download the video from many sites besides of youtube.com. :) That will be greate if we can support tudou.com again. |
|
Tudou is merge into Youku now, and youtube-dl will be able to download it in the next version. |
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.02.21. 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 ```):Description of your issue, suggested solution and other information
When trying to download any video from www.tudou.com which was uploaded since 2017/2/19, an error about "Failed to parse JSON" occur, below is the error info in normal usage, I had dumped all info with youtube-dl --verbose "http://www.tudou.com/programs/view/G8d2xyXP7DA/" in above section.
I tried this in Windows 7 both of 32bit and 64bit, also I tried it in Windows XP 32bit, error will occur in all of them. I have no Windows 8 and Windows 10, so I did not give it a try.
E:\download>youtube-dl.exe --download-archive 1.txt "http://www.tudou.com/progra
ms/view/G8d2xyXP7DA/"
[tudou] G8d2xyXP7DA: Downloading JSON metadata
ERROR: G8d2xyXP7DA: Failed to parse JSON (caused by ValueError('Expecting value
: line 1 column 1 (char 0)',)); please report this issue on https://yt-dl.org/bu
g . 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 outp
ut.