mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-06-27 17:08:32 +00:00
[xvideos] Support profiles, searches, channels and favourites
Made changes for the review
This commit is contained in:
parent
7f5c6f2fb6
commit
6817a2f0ba
@ -345,7 +345,7 @@ def _extract_videos(self, url, playlist_id, num, page):
|
|||||||
|
|
||||||
|
|
||||||
class XVideosChannelIE(XVideosPlaylistIE):
|
class XVideosChannelIE(XVideosPlaylistIE):
|
||||||
_CHANNEL_REGEX = r'''(?:amateur-|pornstar-|model-)?(?:channel|profile|pornstar|model|amateur)s/'''
|
_CHANNEL_REGEX = r'''(?:amateur-|model-)?(?:channel|profile|pornstar|model|amateur)s/'''
|
||||||
_VALID_URL = r'''(?x)
|
_VALID_URL = r'''(?x)
|
||||||
https?://
|
https?://
|
||||||
(?:[^/]+\.)?xvideos(?:\d+)?\.com/
|
(?:[^/]+\.)?xvideos(?:\d+)?\.com/
|
||||||
@ -357,9 +357,6 @@ class XVideosChannelIE(XVideosPlaylistIE):
|
|||||||
$
|
$
|
||||||
''' % _CHANNEL_REGEX
|
''' % _CHANNEL_REGEX
|
||||||
_TESTS = [{
|
_TESTS = [{
|
||||||
'url': 'https://www.xvideos.com/pornstar-channels/sienna-west',
|
|
||||||
'playlist_mincount': 5,
|
|
||||||
}, {
|
|
||||||
'url': 'https://www.xvideos.com/pornstars/silvia-jons#_tabVideos',
|
'url': 'https://www.xvideos.com/pornstars/silvia-jons#_tabVideos',
|
||||||
'playlist_mincount': 5,
|
'playlist_mincount': 5,
|
||||||
}, {
|
}, {
|
||||||
|
Loading…
Reference in New Issue
Block a user