1
0
mirror of https://github.com/yt-dlp/yt-dlp.git synced 2024-11-08 04:02:40 +01:00

[dramafever:series] Fix _VALID_URL (Closes #5973)

This commit is contained in:
Sergey M․ 2015-06-14 09:50:23 +06:00
parent a617b10075
commit 70a2002399

View File

@ -99,7 +99,7 @@ def _real_extract(self, url):
class DramaFeverSeriesIE(InfoExtractor): class DramaFeverSeriesIE(InfoExtractor):
IE_NAME = 'dramafever:series' 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 = [{ _TESTS = [{
'url': 'http://www.dramafever.com/drama/4512/Cooking_with_Shin/', 'url': 'http://www.dramafever.com/drama/4512/Cooking_with_Shin/',
'info_dict': { 'info_dict': {