X-Git-Url: http://git.bitcoin.ninja/index.cgi?a=blobdiff_plain;f=youtube_dl%2Fextractor%2Fweiqitv.py;h=3dafbeec2c5f7ba0b2e18ec621c67966214d3307;hb=cec9727c7f6a0dad8b10a51f0a6581ac5a1dbe86;hp=b72df1e8dbc98c72f477429ebc547ef6c784149c;hpb=65ced034b851f890f894ce79d8069de852208dfc;p=youtube-dl diff --git a/youtube_dl/extractor/weiqitv.py b/youtube_dl/extractor/weiqitv.py index b72df1e8d..3dafbeec2 100644 --- a/youtube_dl/extractor/weiqitv.py +++ b/youtube_dl/extractor/weiqitv.py @@ -4,9 +4,9 @@ from __future__ import unicode_literals from .common import InfoExtractor -class WeiqitvIE(InfoExtractor): +class WeiqiTVIE(InfoExtractor): IE_DESC = 'WQTV' - _VALID_URL = r'http://www\.weiqitv\.com/index/video_play\?videoId=(?P[A-Za-z0-9]+)' + _VALID_URL = r'https?://www\.weiqitv\.com/index/video_play\?videoId=(?P[A-Za-z0-9]+)' _TESTS = [{ 'url': 'http://www.weiqitv.com/index/video_play?videoId=53c744f09874f0e76a8b46f3', @@ -45,7 +45,7 @@ class WeiqitvIE(InfoExtractor): return { '_type': 'url_transparent', - "ie_key": 'LetvCloud', + 'ie_key': 'LetvCloud', 'url': letvcloud_url, 'title': info_json['name'], 'id': media_id,