mirror of
https://github.com/ytdl-org/youtube-dl
synced 2025-04-21 06:24:50 +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):
|
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'
|
IE_DESC = 'UKDEVILZ'
|
||||||
_TEST = {
|
_TEST = {
|
||||||
'url': 'https://ukdevilz.com/watch/-160418850_456239050',
|
'url': 'https://ukdevilz.com/watch/-160418850_456239050',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user