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
1 changed files with 2 additions and 1 deletions

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,