mirror of
https://github.com/l1ving/youtube-dl
synced 2025-03-09 11:57:17 +08: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:
|
if single_page:
|
||||||
return
|
return
|
||||||
next_page = self._search_regex(
|
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')
|
webpage, 'next page url', default=None, group='url')
|
||||||
if not next_page:
|
if not next_page:
|
||||||
break
|
break
|
||||||
|
Loading…
x
Reference in New Issue
Block a user