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.
[Pandora.tv] extracts but HTTPError: HTTP Error 404: Not Found #11023
Comments
|
Unless other people somehow have this working for them, this is because of the changes on the website. Some backstory for anyone interested, and a pr with a fix for everyone else. #11377 I have not used youtube-dl for this website ever, so the word "change" is only based on the current link that youtube-dl is trying to use. And have only started to look into how to download from pandora a couple of days ago. Anyway, what I have found is that to download the file, the link must have the correct px-time and px-hash queries (in fact, everything else can be omitted, http://cdn.blabla.pandora.tv/sd/_user/blabla.flv?px-time=1481026469&px-hash=47f0a1a3e1b69161f3e7d92d29dcebb5 is enough). How the hash is generated I, unfortunately, was not able to find on the desktop version, only that it definitely does not depend on the ch_userid and prgid, only px-time (which, in turn, depends on the runtime, but can be found as nExpiration in the desktop version of the info json), fid and probably something else (same vodUrl in the video info leads to the same px-hash, provided it was requested at the same time, fun times testing that). However, noticing that youtube-dl uses mobile version instead, I looked into that and found that, well, it simply asks the server for the hash (POSTing the vodurl, runtime and, strangely, prgid)! |
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 2016.10.25. 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 ```):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):
http://jp.channel.pandora.tv/channel/video.ptv?ch_userid=monako5&prgid=54293799
Description of your issue, suggested solution and other information
Attempted to download link from Pandora.tv in quotes, downloader was invoked but 404 Error.
Can download by directly going to site, using developer tools to extract flv link