Browse Source

Fix _VALID_URLs further (#10594)

totalwebcasting
Yen Chi Hsuan 8 years ago
parent
commit
3f612f0767
No known key found for this signature in database GPG Key ID: 3FDDD575826C5C30
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      youtube_dl/extractor/abcnews.py
  2. +1
    -1
      youtube_dl/extractor/karaoketv.py

+ 1
- 1
youtube_dl/extractor/abcnews.py View File

@ -12,7 +12,7 @@ from ..compat import compat_urlparse
class AbcNewsVideoIE(AMPIE):
IE_NAME = 'abcnews:video'
_VALID_URL = 'https?://abcnews.go.com/[^/]+/video/(?P<display_id>[0-9a-z-]+)-(?P<id>\d+)'
_VALID_URL = r'https?://abcnews\.go\.com/[^/]+/video/(?P<display_id>[0-9a-z-]+)-(?P<id>\d+)'
_TESTS = [{
'url': 'http://abcnews.go.com/ThisWeek/video/week-exclusive-irans-foreign-minister-zarif-20411932',


+ 1
- 1
youtube_dl/extractor/karaoketv.py View File

@ -5,7 +5,7 @@ from .common import InfoExtractor
class KaraoketvIE(InfoExtractor):
_VALID_URL = r'https?://www.karaoketv.co.il/[^/]+/(?P<id>\d+)'
_VALID_URL = r'https?://www\.karaoketv\.co\.il/[^/]+/(?P<id>\d+)'
_TEST = {
'url': 'http://www.karaoketv.co.il/%D7%A9%D7%99%D7%A8%D7%99_%D7%A7%D7%A8%D7%99%D7%95%D7%A7%D7%99/58356/%D7%90%D7%99%D7%96%D7%95%D7%9F',
'info_dict': {


Loading…
Cancel
Save