mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-12-16 00:02:43 +00:00
Support language specific sites
This commit is contained in:
parent
840efd5787
commit
0b3cb7df0d
1 changed files with 2 additions and 3 deletions
|
@ -10,16 +10,15 @@ from ..utils import (
|
||||||
orderedSet,
|
orderedSet,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
class DeezerPlaylistIE(InfoExtractor):
|
class DeezerPlaylistIE(InfoExtractor):
|
||||||
_VALID_URL = r'https?://(?:www\.)?deezer\.com/playlist/(?P<id>[0-9]+)'
|
_VALID_URL = r'https?://(?:www\.)?deezer\.com/(../)?playlist/(?P<id>[0-9]+)'
|
||||||
_TEST = {
|
_TEST = {
|
||||||
'url': 'http://www.deezer.com/playlist/176747451',
|
'url': 'http://www.deezer.com/playlist/176747451',
|
||||||
'info_dict': {
|
'info_dict': {
|
||||||
'id': '176747451',
|
'id': '176747451',
|
||||||
'title': 'Best!',
|
'title': 'Best!',
|
||||||
'uploader': 'anonymous',
|
'uploader': 'anonymous',
|
||||||
'thumbnail': r're:^https?://e-cdns-images\.dzcdn\.net/images/cover/.*\.jpg$',
|
'thumbnail': r're:^https?://(e-)?cdns-images\.dzcdn\.net/images/cover/.*\.jpg$',
|
||||||
},
|
},
|
||||||
'playlist_count': 29,
|
'playlist_count': 29,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue