[dramafever] Improve _VALID_URL

This commit is contained in:
Sergey M․ 2015-06-14 09:58:26 +06:00
parent 463b2e5542
commit 450d89ddc1

View File

@ -19,7 +19,7 @@
class DramaFeverIE(InfoExtractor): class DramaFeverIE(InfoExtractor):
IE_NAME = 'dramafever' 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 = { _TEST = {
'url': 'http://www.dramafever.com/drama/4512/1/Cooking_with_Shin/', 'url': 'http://www.dramafever.com/drama/4512/1/Cooking_with_Shin/',
'info_dict': { 'info_dict': {