Merge pull request #8898 from dstftw/fragment-retries
[youtube-dl] / youtube_dl / extractor / weiqitv.py
index b72df1e8dbc98c72f477429ebc547ef6c784149c..3dafbeec2c5f7ba0b2e18ec621c67966214d3307 100644 (file)
@@ -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<id>[A-Za-z0-9]+)'
+    _VALID_URL = r'https?://www\.weiqitv\.com/index/video_play\?videoId=(?P<id>[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,