fix _VALID_URL regex

some videos don't have a '-' in front of the video id
pull/27312/head
w1ldg00se 4 years ago committed by GitHub
parent 79643316da
commit 77bf61e04f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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…
Cancel
Save