Browse Source

[letv] LetvCloud: simplify and improve _VALID_URL

Yen Chi Hsuan 9 years ago
parent
commit
73e7442456
1 changed files with 1 additions and 1 deletions
  1. 1 1
      youtube_dl/extractor/letv.py

+ 1 - 1
youtube_dl/extractor/letv.py

@@ -245,7 +245,7 @@ class LetvPlaylistIE(LetvTvIE):
 
 
 class LetvCloudIE(InfoExtractor):
 class LetvCloudIE(InfoExtractor):
     IE_DESC = '乐视云'
     IE_DESC = '乐视云'
-    _VALID_URL = r'http://yuntv\.letv\.com/bcloud.html\?.*$'
+    _VALID_URL = r'https?://yuntv\.letv\.com/bcloud.html\?.+'
 
 
     _TESTS = [{
     _TESTS = [{
         'url': 'http://yuntv.letv.com/bcloud.html?uu=p7jnfw5hw9&vu=467623dedf',
         'url': 'http://yuntv.letv.com/bcloud.html?uu=p7jnfw5hw9&vu=467623dedf',