mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-01-03 18:10:10 +09:00
fix _VALID_URL regex
some videos don't have a '-' in front of the video id
This commit is contained in:
parent
79643316da
commit
77bf61e04f
@ -9,7 +9,7 @@ from ..compat import compat_urlparse
|
||||
|
||||
|
||||
class UKDevilzIE(InfoExtractor):
|
||||
_VALID_URL = r'https?://(?:www\.)?ukdevilz\.com/watch/-(?P<id>[\d]*_[\d]*)'
|
||||
_VALID_URL = r'https?://(?:www\.)?ukdevilz\.com/watch/(-)?(?P<id>[\d]*_[\d]*)'
|
||||
IE_DESC = 'UKDEVILZ'
|
||||
_TEST = {
|
||||
'url': 'https://ukdevilz.com/watch/-160418850_456239050',
|
||||
|
Loading…
Reference in New Issue
Block a user