Ascoware / get-iplayer-automator

The goal of Get iPlayer Automator is to allow iTunes and your Mac to become the hub for your British Television experience regardless of where in the world you are. Currently, Get iPlayer Automator allows you to download and watch BBC and ITV shows on your Mac. Series-Link/PVR functionality ensures you will never miss your favourite shows. Programmes are fully tagged and added to iTunes automatically upon completion. It is simple and easy to use, and runs on any machine running Mac OS X 10.7 or later. And since the shows are in iTunes, it is extremely easy to transfer them to your iPod, iPhone, or Apple TV allowing you to enjoy your shows on the go or on your television.
GNU General Public License v3.0
144 stars 27 forks source link

Feature Request: grab all available episodes from webpage (iPlayer) #306

Closed ashleycox closed 1 year ago

ashleycox commented 3 years ago

I was recently downloading some series' using the iPlayer website and the 'user current webpage' option as the results weren't available in search. It would be great if GIA had a feature whereby it could automatically track down all available episodes on the website based on a program added to the queue. Or perhaps if one were to press the 'use current webpage' button with a page of episodes open, as opposed to a program, it could analyse the page and automatically add any episodes based on the links it finds, following the pagination as it goes. Thanks for a great app.

skovatch commented 3 years ago

Have you seen the PVR feature? Search for a show, click on it, then click Auto Record, and GiA will automatically look for it every time the cache is updated. If you pick up a show mid-series, "Add Available Shows to Queue" will find any other available shows for downloading.

That said, I think that's different from what you are asking for, which is to have the "Use Current Webpage" detect that it's on a program's page, and look for all episodes of that program. It sounds like the same thing without the extra step of searching in the PVR window first. The PVR doesn't work for collections of older shows, though.

ashleycox commented 3 years ago

Thanks for your reply. I have seen and used the PVR feature. I'm mainly looking for something that can search the webpage for the purpose of downloading older shows. The BBC occasionally post archives of radio comedy series' for example, some of which contain large numbers of episodes but can't be found in the search.

hugofalkman commented 3 years ago

It's a long time since I could use "Use Current Webpage", since GiA gets confused if Safari has multiple windows in multiple desktops, each with multiple tabs. This is however not a problem, for shows not in the cache, I just copy/paste the address to a blank line in the download queue display, and then press the "Process PID" button.

So this feature request should cover both the "Use Current Webpage" and "Process PID" use cases, for shows not in the cache. An example of a possible user interface design from Downie:

Screenshot 2021-01-18 at 10 31 01
ghost commented 3 years ago

Yes, this is the single reason I also use Downie - to download an entire season of episodes from a show that isn't searchable in GiA (I assume because it is only available on iPlayer and has not been broadcasted).

skovatch commented 3 years ago

After some more digging, this is related to the Series pages that capture an entire season, or multiple season, on one page. Example: https://www.bbc.co.uk/iplayer/episodes/p00yzlr0/line-of-duty?seriesId=m000tjg9

get_iplayer can get all of the PIDs with --recursive-pid-list and the 'brand ID' (here, p00yzlr0). GiA would then turn these into download lines.

I see a way to do this, but I'm not sure when I'll get to it.

ghost commented 3 years ago

fair enough - thanks for the reply!

ashleycox commented 1 year ago

Just wondered if you'd had any more thoughts on this, or whether it could be bumped up the priority queue? The BBC is celebrating its centenary at the moment and they are uploading some fantastic series', particularly radio comedy on BBC sounds which are only available for a limited time. It would be a great help to make it easier to capture them, some of them have series' in the double figures! Thanks for your continued excellent work.

skovatch commented 1 year ago

As luck(?) would have it, I was laid off from my last job, but I will be starting a new one in two weeks. I should have some free time to look at this some more. So no promises but check back soon.

ghost commented 1 year ago

Sorry to hear about your job but good luck in your new one!

ashleycox commented 1 year ago

@skovatch Sorry to hear you were laid off, but best of luck in the new job!

skovatch commented 1 year ago

Fixed in 1.24.3. You should be able to start with https://www.bbc.co.uk/programmes and go into the available programs and get the entire list of shows.