mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-26 01:01:25 +01:00
Compare commits
5 Commits
b8770d2323
...
64ffe81988
Author | SHA1 | Date | |
---|---|---|---|
|
64ffe81988 | ||
|
fbb93fcb31 | ||
|
194ad573b5 | ||
|
9a35c9a995 | ||
|
280b8b88d4 |
|
@ -213,7 +213,7 @@ class RedGifsSearchIE(RedGifsBaseInfoExtractor):
|
||||||
class RedGifsUserIE(RedGifsBaseInfoExtractor):
|
class RedGifsUserIE(RedGifsBaseInfoExtractor):
|
||||||
IE_DESC = 'Redgifs user'
|
IE_DESC = 'Redgifs user'
|
||||||
_VALID_URL = r'https?://(?:www\.)?redgifs\.com/users/(?P<username>[^/?#]+)(?:\?(?P<query>[^#]+))?'
|
_VALID_URL = r'https?://(?:www\.)?redgifs\.com/users/(?P<username>[^/?#]+)(?:\?(?P<query>[^#]+))?'
|
||||||
_PAGE_SIZE = 30
|
_PAGE_SIZE = 80
|
||||||
_TESTS = [
|
_TESTS = [
|
||||||
{
|
{
|
||||||
'url': 'https://www.redgifs.com/users/lamsinka89',
|
'url': 'https://www.redgifs.com/users/lamsinka89',
|
||||||
|
@ -222,7 +222,7 @@ class RedGifsUserIE(RedGifsBaseInfoExtractor):
|
||||||
'title': 'lamsinka89',
|
'title': 'lamsinka89',
|
||||||
'description': 'RedGifs user lamsinka89, ordered by recent',
|
'description': 'RedGifs user lamsinka89, ordered by recent',
|
||||||
},
|
},
|
||||||
'playlist_mincount': 100,
|
'playlist_mincount': 391,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'url': 'https://www.redgifs.com/users/lamsinka89?page=3',
|
'url': 'https://www.redgifs.com/users/lamsinka89?page=3',
|
||||||
|
@ -231,7 +231,7 @@ class RedGifsUserIE(RedGifsBaseInfoExtractor):
|
||||||
'title': 'lamsinka89',
|
'title': 'lamsinka89',
|
||||||
'description': 'RedGifs user lamsinka89, ordered by recent',
|
'description': 'RedGifs user lamsinka89, ordered by recent',
|
||||||
},
|
},
|
||||||
'playlist_count': 30,
|
'playlist_mincount': 31,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'url': 'https://www.redgifs.com/users/lamsinka89?order=best&type=g',
|
'url': 'https://www.redgifs.com/users/lamsinka89?order=best&type=g',
|
||||||
|
@ -240,7 +240,17 @@ class RedGifsUserIE(RedGifsBaseInfoExtractor):
|
||||||
'title': 'lamsinka89',
|
'title': 'lamsinka89',
|
||||||
'description': 'RedGifs user lamsinka89, ordered by best',
|
'description': 'RedGifs user lamsinka89, ordered by best',
|
||||||
},
|
},
|
||||||
'playlist_mincount': 100,
|
'playlist_mincount': 391,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
'url': 'https://www.redgifs.com/users/ignored52',
|
||||||
|
'note': 'Issues #7382 and #9131; _PAGE_SIZE was set to a value that was too low',
|
||||||
|
'info_dict': {
|
||||||
|
'id': 'ignored52',
|
||||||
|
'title': 'ignored52',
|
||||||
|
'description': 'RedGifs user ignored52, ordered by recent',
|
||||||
|
},
|
||||||
|
'playlist_mincount': 31,
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user