1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2024-11-22 16:44:32 +01:00

BBC iPlayer: Fix multi-page handling for shows with only one season.

This commit is contained in:
Daniel Cassidy 2019-12-23 08:59:54 +00:00
parent 93678422ef
commit da6790a3a3

View File

@ -1310,7 +1310,8 @@ class BBCCoUkIPlayerPlaylistIE(BBCCoUkPlaylistBaseIE):
break
next_page_num = page_num + 1
next_page_href = pagination.get('pageUrl') % next_page_num
page_url_template = pagination.get('pageUrl') or '?page=%s'
next_page_href = page_url_template % next_page_num
url = compat_urlparse.urljoin(url, next_page_href)
webpage = self._download_webpage(url, playlist_id,