]> gitweb @ CieloNegro.org - youtube-dl.git/commitdiff
[letv] LetvCloud: simplify and improve _VALID_URL
authorYen Chi Hsuan <yan12125@gmail.com>
Tue, 19 Jan 2016 19:39:45 +0000 (03:39 +0800)
committerYen Chi Hsuan <yan12125@gmail.com>
Tue, 19 Jan 2016 19:42:01 +0000 (03:42 +0800)
youtube_dl/extractor/letv.py

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