[dramafever:series] Fix _VALID_URL (Closes #5973)
authorSergey M․ <dstftw@gmail.com>
Sun, 14 Jun 2015 03:50:23 +0000 (09:50 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 14 Jun 2015 03:50:23 +0000 (09:50 +0600)
youtube_dl/extractor/dramafever.py

index 0f33a61a3abe03996154614e260bb7f4cef1714e..42e0df24ec575185a524d1c9b24c3b3aed7c3bfe 100644 (file)
@@ -99,7 +99,7 @@ class DramaFeverIE(InfoExtractor):
 
 class DramaFeverSeriesIE(InfoExtractor):
     IE_NAME = 'dramafever:series'
-    _VALID_URL = r'https?://(?:www\.)?dramafever\.com/drama/(?P<id>[0-9]+)(?:/(?:(?!\d).+)?)?$'
+    _VALID_URL = r'https?://(?:www\.)?dramafever\.com/drama/(?P<id>[0-9]+)(?:/(?:(?!\d+(?:/|$)).+)?)?$'
     _TESTS = [{
         'url': 'http://www.dramafever.com/drama/4512/Cooking_with_Shin/',
         'info_dict': {