]> Raphaƫl G. Git Repositories - youtubedl/blobdiff - youtube_dl/extractor/leeco.py
d/rules: Run offline tests.
[youtubedl] / youtube_dl / extractor / leeco.py
index ffe10154b7c6acd986f41ea0036d4b195fb003fb..7dc0ad7947a8b3ddfa7713f5f2fe231cf9a1ebf5 100644 (file)
@@ -130,7 +130,7 @@ class LeIE(InfoExtractor):
             media_id, 'Downloading flash playJson data', query={
                 'id': media_id,
                 'platid': 1,
             media_id, 'Downloading flash playJson data', query={
                 'id': media_id,
                 'platid': 1,
-                'splatid': 101,
+                'splatid': 105,
                 'format': 1,
                 'source': 1000,
                 'tkey': self.calc_time_key(int(time.time())),
                 'format': 1,
                 'source': 1000,
                 'tkey': self.calc_time_key(int(time.time())),
@@ -326,7 +326,7 @@ class LetvCloudIE(InfoExtractor):
             elif play_json.get('code'):
                 raise ExtractorError('Letv cloud returned error %d' % play_json['code'], expected=True)
             else:
             elif play_json.get('code'):
                 raise ExtractorError('Letv cloud returned error %d' % play_json['code'], expected=True)
             else:
-                raise ExtractorError('Letv cloud returned an unknwon error')
+                raise ExtractorError('Letv cloud returned an unknown error')
 
         def b64decode(s):
             return compat_b64decode(s).decode('utf-8')
 
         def b64decode(s):
             return compat_b64decode(s).decode('utf-8')