1
0
mirror of https://codeberg.org/polarisfm/youtube-dl synced 2025-02-17 01:17:54 +01:00

Fix downloading multi-page playlists from bbc.co.uk.

This commit is contained in:
Daniel Cassidy 2019-12-17 07:04:37 +00:00
parent 999c87a618
commit c1294dc901

View File

@ -1384,7 +1384,7 @@ class BBCCoUkPlaylistIE(BBCCoUkPlaylistBaseIE):
if single_page:
return
next_page = self._search_regex(
r'<li[^>]+class=(["\'])pagination_+next\1[^>]*><a[^>]+href=(["\'])(?P<url>(?:(?!\2).)+)\2',
r'<li[^>]+class=(["\'])pagination_+next\1[^>]*>\s*<a[^>]+href=(["\'])(?P<url>(?:(?!\2).)+)\2',
webpage, 'next page url', default=None, group='url')
if not next_page:
break