commit: 450d89ddc12d80a500a2429632d35a0045cf630b
parent 463b2e5542a85d5cd41b255a71833fec7b4f51e0
Author: Sergey M․ <dstftw@gmail.com>
Date: Sun, 14 Jun 2015 09:58:26 +0600
[dramafever] Improve _VALID_URL
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/youtube_dl/extractor/dramafever.py b/youtube_dl/extractor/dramafever.py
@@ -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': {