mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2024-12-26 00:07:55 +01:00
[dropout] fixed next_page_url
This commit is contained in:
parent
6b65dae7b1
commit
62c7c8c6d4
@ -109,7 +109,7 @@ class DropoutPlaylistIE(DropoutIE):
|
||||
items = []
|
||||
while True:
|
||||
items.extend(re.findall(r'browse-item-title[^>]+>[^<]*<a href="(?P<url>https://www.dropout.tv/[^/]+/[^"]+)"', webpage))
|
||||
next_page_url = self._search_regex(r'href="(/[^\?]+\?page=\d+)"', webpage, 'next page url', default=None)
|
||||
next_page_url = self._search_regex(r'href="([^"]+\?[^"]*(?:&|&)?page=\d+)"', webpage, 'next page url', default=None)
|
||||
if not next_page_url:
|
||||
break
|
||||
webpage = self._download_webpage('https://www.dropout.tv' + next_page_url, playlist_id)
|
||||
|
Loading…
Reference in New Issue
Block a user