Browse Source

[drtv] Improve _VALID_URL (#4814)

totalwebcasting
Sergey M․ 10 years ago
parent
commit
ef1269fb07
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      youtube_dl/extractor/drtv.py

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

@ -6,7 +6,7 @@ from ..utils import parse_iso8601
class DRTVIE(SubtitlesInfoExtractor):
_VALID_URL = r'https?://(?:www\.)?dr\.dk/tv/se/(?:[^/]+/)+(?P<id>[\da-z-]+)(?:[/#?]|$)'
_VALID_URL = r'https?://(?:www\.)?dr\.dk/tv/se/(?:[^/]+/)*(?P<id>[\da-z-]+)(?:[/#?]|$)'
_TEST = {
'url': 'http://www.dr.dk/tv/se/partiets-mand/partiets-mand-7-8',


Loading…
Cancel
Save