From: Sergey M․ Date: Sun, 14 Jun 2015 03:50:23 +0000 (+0600) Subject: [dramafever:series] Fix _VALID_URL (Closes #5973) X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=70a2002399b46aa0cde2879d856d1bb68e2c6f67;p=youtube-dl.git [dramafever:series] Fix _VALID_URL (Closes #5973) --- diff --git a/youtube_dl/extractor/dramafever.py b/youtube_dl/extractor/dramafever.py index 0f33a61a3..42e0df24e 100644 --- a/youtube_dl/extractor/dramafever.py +++ b/youtube_dl/extractor/dramafever.py @@ -99,7 +99,7 @@ class DramaFeverIE(InfoExtractor): class DramaFeverSeriesIE(InfoExtractor): IE_NAME = 'dramafever:series' - _VALID_URL = r'https?://(?:www\.)?dramafever\.com/drama/(?P[0-9]+)(?:/(?:(?!\d).+)?)?$' + _VALID_URL = r'https?://(?:www\.)?dramafever\.com/drama/(?P[0-9]+)(?:/(?:(?!\d+(?:/|$)).+)?)?$' _TESTS = [{ 'url': 'http://www.dramafever.com/drama/4512/Cooking_with_Shin/', 'info_dict': {