whatdaybob / sonarr_youtubedl

A Sonarr companion script to allow the automatic downloading of web series normally not available for Sonarr to search for. Using Youtube-DL it allows you to download your webseries from the list of supported sites.
107 stars 34 forks source link

URL per episode #53

Closed tigattack closed 1 year ago

tigattack commented 1 year ago

Is it possible to use the regex feature to map season and episode numbers to a partial URL?

I'm guessing not, but thought it worth asking. This can be considered a feature request for the problem described below if not.

I'd like to download a show from redbull.com, where the URLs are like https://www.redbull.com/gb-en/episodes/<name-of-show>-s<season-num>-e<episode-num>

yt-dlp can't parse the episodes from the show's page on redbull.com (https://www.redbull.com/gb-en/shows/life-of-kai, for example), so it'd be great if I could throw a URL such as this into the config: https://www.redbull.com/gb-en/episodes/life-of-kai-s{season}-e{episode}

Just example syntax of course, but that would be super useful for sites where yt-dlp can't parse the seasons and episodes from a link to the show, like it can do for YouTube playlists, for example.

This is a great project btw, thank you!

tigattack commented 1 year ago

Never mind, this is a pointless request - This ought to be supported by yt-dlp, it's not your job to work around that missing functionality. I've created an issue in the yt-dlp repository instead.