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.
BBC iPlayer Embeds #4619
BBC iPlayer Embeds #4619
Comments
|
BBC iPlayer embeds will be supported in the next version. Thanks for the report. |
|
Great! Thanks for the fast response. |
|
I believe this issue to be fixed in youtube-dl 2015.01.05 or newer. See our FAQ if you need help updating. |
Hi there!
The BBC iPlayer extractor (
bbccouk.py) currently doesn't handle embedded videos. There are a few examples on this page: http://www.bbc.co.uk/blogs/adamcurtis/posts/BUGGERIt looks like it should be simple to add: the
<param flashvars="...">tag (inside the embed's<div class="player">tag) has an iPlayer url in it. I can paste it right intoyoutube-dl, and it downloads fine! The extractor just needs to recognize those embeds and scrape out the URL (the flashvar that contains the URL is called "playlist").(BTW: To make youtube-dl download the url from the flash variable, I had to update the
_VALID_URLregexp to accept "iplayer/playlist" urls, like this:_VALID_URL = r'https?://(?:www\.)?bbc\.co\.uk/(?:programmes|iplayer/episode|iplayer/playlist)/(?P<id>[\da-z]{8})')What's a good way to implement this? Is there an extractor that I can take a look at as a good example?
Thanks!