mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-11-22 08:34:32 +01:00
BBC iPlayer: Fix multi-page handling for shows with only one season.
This commit is contained in:
parent
93678422ef
commit
da6790a3a3
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user