These forums are archived

See this post for further info

get_iplayer forums

Forum archived. Posting disabled.

Cannot download embedded clip...

user-263

Hi there,

Sorry to ask this but I've trawled the forums and other guides and I'm stuck.

I want to download the clip on this page...

http://www.bbc.co.uk/cbeebies/green-ball...-nativity/

I've got Get_iplayer 2.85 running on Windows 7.

I've tried the following commands:

get_player --url="http://www.bbc.co.uk/cbeebies/green-balloon-club/watch/green-balloon-club-nativity/"
get_iplayer "http://www.bbc.co.uk/cbeebies/green-balloon-club/watch/green-balloon-club-nativity/"
get_iplayer http://www.bbc.co.uk/cbeebies/green-ball...-nativity/

All with varying degrees of failure...

Would someone be able to point me in the right direction,

Kindest Regards,

Lee

user-2

In this case you can download the clip by finding the "playlist" URL for the programme. The playlist file contains information necessary for download. You can look for the playlist URL by viewing the web page source in your browser and searching for "playlist:" (without quotes). In this case, it would bring you to this line:

Code:
playlist: http://www.bbc.co.uk/cbeebies/green-balloon-club/watch/green-balloon-club-nativity/playlist/xml



Copy the URL from that line and use it in your get_iplayer command line instead of the page URL. It appears that other Green Balloon Club clips are the same, so you can probably just add "/playlist/xml" to each URL you want to download. It won't work with every CBeebies clip, though. If you find a playlist URL in the form:

http://www.bbc.co.uk/iplayer/playlist/p01mb24w

you should grab the PID at the end (p01mb24w above) and use it with
Code:
--pid
.

AFAICT, get_iplayer doesn't process the "playlist:" references because of the above ambiguity in how to process them. That might be something I can fix, but no promises.

user-263

Hi there,

Thanks for taking the time to reply this late on a Saturday.

Thanks for the pointer about the XML. The command that worked for me in the end was:

Code:
get_iplayer --url="http://www.bbc.co.uk/cbeebies/green-balloon-club/watch/green-balloon-club-nativity/playlist/xml" --type=all



Thank you so much for the help & thank you for keeping the project alive!

user-2

Since it's a video clip, you shouldn't need
Code:
--type=all
. The default type is tv, which is appropriate for a video clip. Using
Code:
--type=all
may trigger a refresh of the radio and podcast caches, which can be slow and is unnecessary.

These forums are archived

See this post for further info