[dramafever] Improve _VALID_URL
authorSergey M․ <dstftw@gmail.com>
Sun, 14 Jun 2015 03:58:26 +0000 (09:58 +0600)
committerSergey M․ <dstftw@gmail.com>
Sun, 14 Jun 2015 03:58:26 +0000 (09:58 +0600)
youtube_dl/extractor/dramafever.py

index c4b7c0b68afb3e85c98fca16790a774efe81bd3f..a34aad4867c36df4e5bb185466372dd0460187b6 100644 (file)
@@ -19,7 +19,7 @@ from ..utils import (
 
 class DramaFeverIE(InfoExtractor):
     IE_NAME = 'dramafever'
-    _VALID_URL = r'https?://(?:www\.)?dramafever\.com/drama/(?P<id>[0-9]+/[0-9]+)'
+    _VALID_URL = r'https?://(?:www\.)?dramafever\.com/drama/(?P<id>[0-9]+/[0-9]+)(?:/|$)'
     _TEST = {
         'url': 'http://www.dramafever.com/drama/4512/1/Cooking_with_Shin/',
         'info_dict': {