1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2025-09-03 00:25:08 +00:00

[peertube] Improve generic support (closes #16733)

This commit is contained in:
Sergey M․
2018-06-19 23:00:36 +07:00
parent e12b4b8bcc
commit 8b4b400aef
2 changed files with 35 additions and 14 deletions

View File

@ -3076,7 +3076,7 @@ class GenericIE(InfoExtractor):
return self.playlist_from_matches(
cloudflarestream_urls, video_id, video_title, ie=CloudflareStreamIE.ie_key())
peertube_urls = PeerTubeIE._extract_urls(webpage)
peertube_urls = PeerTubeIE._extract_urls(webpage, url)
if peertube_urls:
return self.playlist_from_matches(
peertube_urls, video_id, video_title, ie=PeerTubeIE.ie_key())