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.
http://sverigesradio.se #9572
http://sverigesradio.se #9572
Comments
|
Thank You! Jörgen |
|
@Krassegrand Did this solve your issue? If so, close this. |
|
well, sort of. Jörgen |
|
Some casts cannot be downloaded because they contain copyrighted music in them, and they are only available for 30 days because of that. Example https://sverigesradio.se/sida/avsnitt/814150?programid=3135 However, if you start playing the episode, (then you can pause it), this will show up in the source code (and can be found with inspect element) <audio id="player-audio" src="https://lyssna-cdn.sr.se/autorec/et2w/p4/p4_dans/2016/12/srp4riks_2016-12-04_201500_2700_a192.m4a" title="P4 Dans med Thomas Deutgen" preload="none"></audio>The link |
|
Hej, just tried youtube-dl on a sverigesradio.se URL today and was surprised to see it isn't supported. A very brief research shows, that the website sends a GET request to this URL
As for the other GET parameters, id seems obvious. There seem to be at least three quality settings: low at 32kbps, medium at 96kbps and high at 196kbps. And for the format, you can drop the parameter and still get a .m4a URL returned and I wouldn't know what else to try, so I have no idea, whether the audio URL can also be requested in a different format. If there's anyone who'd like to take this from here, please go ahead, otherwise I might look into how to add SR support into youtube-dl sometimes in the future. |
|
will be supported 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 2016.05.21.2. 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):
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 required an account credentials please provide them or explain how one can obtain them.
I Try to download from
"http://sverigesradio.se/sida/artikel.aspx?programid=4720&artikel=6137924"
but get a fault message.
"jorgen@jorgen-Lenovo-Z50-75:
/Hämtningar/Bamse$ youtube-dl http://sverigesradio.se/sida/artikel.aspx?programid=4720&artikel=6137924/Hämtningar/Bamse$ [generic] artikel: Requesting header[1] 3223
jorgen@jorgen-Lenovo-Z50-75:
WARNING: Could not send HEAD request to http://sverigesradio.se/sida/artikel.aspx?programid=4720: HTTP Error 404: Sidan kan inte hittas
[generic] artikel: Downloading webpage
ERROR: Unable to download webpage: HTTP Error 404: Sidan kan inte hittas (caused by HTTPError()); 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."
I have updated to the version 2016.05.21.2
This issue is not important. I just want You to know about it if You feel like doing something about it.
Thank You for a great work on this, the program is fantastic.
Jörgen