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:
parent
999c87a618
commit
c1294dc901
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user