djcsdy commented Dec 17, 2019 This PR fixes two problems: * Downloading playlists from BBC iPlayer did not work at all due to the page layout changing completely since the extractor was written. * Downloading playlists from other parts of bbc.co.uk was partially broken – only the first page would be downloaded due to some whitespace being inserted between elements since the extractor was written. Example URLs: https://www.bbc.co.uk/programmes/b00mfl7n/clips (All 142 clips should be downloaded, not just the first 24) https://www.bbc.co.uk/programmes/b00mfl7n/clips?page=3 (Only the 24 clips on the specified page should be downloaded) https://www.bbc.co.uk/iplayer/episodes/b07xd230/josh (All 18 episodes should be downloaded) https://www.bbc.co.uk/iplayer/episodes/b07xd230/josh?seriesId=p047lvcs (Only the six episodes of season 2 should be downloaded) https://www.bbc.co.uk/iplayer/episodes/b06kw5fq/scot-squad (Should download whatever episodes are currently available, time sensitive) I pushed an additional change that fixes a crash when downloading shows that have multiple pages of episodes but only a single season, for example: https://www.bbc.co.uk/iplayer/episodes/b05qzmgd/louis-theroux Fixes: https://github.com/ytdl-org/youtube-dl/issues/23438 https://github.com/ytdl-org/youtube-dl/issues/23270