mirror of
https://github.com/ytdl-org/youtube-dl.git
synced 2024-12-11 20:51:01 +01:00
[youtube] Use authentication for entry list base extractor (Closes #8380)
This commit is contained in:
parent
7b7507d6e1
commit
8e7aad2075
|
@ -181,7 +181,7 @@ class YoutubeBaseInfoExtractor(InfoExtractor):
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
||||||
class YoutubeEntryListBaseInfoExtractor(InfoExtractor):
|
class YoutubeEntryListBaseInfoExtractor(YoutubeBaseInfoExtractor):
|
||||||
# Extract entries from page with "Load more" button
|
# Extract entries from page with "Load more" button
|
||||||
def _entries(self, page, playlist_id):
|
def _entries(self, page, playlist_id):
|
||||||
more_widget_html = content_html = page
|
more_widget_html = content_html = page
|
||||||
|
@ -1602,7 +1602,7 @@ class YoutubeIE(YoutubeBaseInfoExtractor):
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
class YoutubePlaylistIE(YoutubeBaseInfoExtractor, YoutubePlaylistBaseInfoExtractor):
|
class YoutubePlaylistIE(YoutubePlaylistBaseInfoExtractor):
|
||||||
IE_DESC = 'YouTube.com playlists'
|
IE_DESC = 'YouTube.com playlists'
|
||||||
_VALID_URL = r"""(?x)(?:
|
_VALID_URL = r"""(?x)(?:
|
||||||
(?:https?://)?
|
(?:https?://)?
|
||||||
|
|
Loading…
Reference in New Issue
Block a user