mirror of
https://github.com/ytdl-org/youtube-dl
synced 2024-11-27 17:26:51 +01:00
[thesixtyone] Relax _VALID_URL (Closes #9714)
This commit is contained in:
parent
a26a9d6239
commit
33d9f3707c
@ -12,7 +12,7 @@ class TheSixtyOneIE(InfoExtractor):
|
|||||||
s|
|
s|
|
||||||
song/comments/list|
|
song/comments/list|
|
||||||
song
|
song
|
||||||
)/(?P<id>[A-Za-z0-9]+)/?$'''
|
)/(?:[^/]+/)?(?P<id>[A-Za-z0-9]+)/?$'''
|
||||||
_SONG_URL_TEMPLATE = 'http://thesixtyone.com/s/{0:}'
|
_SONG_URL_TEMPLATE = 'http://thesixtyone.com/s/{0:}'
|
||||||
_SONG_FILE_URL_TEMPLATE = 'http://{audio_server:}/thesixtyone_production/audio/{0:}_stream'
|
_SONG_FILE_URL_TEMPLATE = 'http://{audio_server:}/thesixtyone_production/audio/{0:}_stream'
|
||||||
_THUMBNAIL_URL_TEMPLATE = '{photo_base_url:}_desktop'
|
_THUMBNAIL_URL_TEMPLATE = '{photo_base_url:}_desktop'
|
||||||
@ -45,6 +45,10 @@ class TheSixtyOneIE(InfoExtractor):
|
|||||||
'url': 'http://www.thesixtyone.com/song/SrE3zD7s1jt/',
|
'url': 'http://www.thesixtyone.com/song/SrE3zD7s1jt/',
|
||||||
'only_matching': True,
|
'only_matching': True,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
'url': 'http://www.thesixtyone.com/maryatmidnight/song/StrawberriesandCream/yvWtLp0c4GQ/',
|
||||||
|
'only_matching': True,
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
|
||||||
_DECODE_MAP = {
|
_DECODE_MAP = {
|
||||||
|
Loading…
Reference in New Issue
Block a user