Merge pull request #8898 from dstftw/fragment-retries
[youtube-dl] / youtube_dl / extractor / weiqitv.py
index 24389d4bb2c3b2b38e1a5dd31b2e693cf4acfd40..3dafbeec2c5f7ba0b2e18ec621c67966214d3307 100644 (file)
@@ -6,7 +6,7 @@ from .common import 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,