1
0
mirror of https://github.com/l1ving/youtube-dl synced 2025-03-12 13:57:17 +08:00

[smashcast] quick tweak]

This commit is contained in:
f4r 2017-05-19 16:34:44 +12:00
parent dd15a13346
commit 3625ae4b76

View File

@ -130,7 +130,7 @@ class SmashcastIE(InfoExtractor):
class SmashcastLiveIE(SmashcastIE): class SmashcastLiveIE(SmashcastIE):
IE_NAME = 'smashcast:live' IE_NAME = 'smashcast:live'
_VALID_URL = r'https?://(?:www\.)?smashcast\.tv/(?!video)(?P<id>.+)' _VALID_URL = r'https?://(?:www\.)?smashcast\.tv/?P<id>[\w\d\-]+)/?$'
_TEST = { _TEST = {
'url': 'http://www.smashcast.tv/dimak', 'url': 'http://www.smashcast.tv/dimak',
'info_dict': { 'info_dict': {