Update leeco.py
authorhuichen90 <35417991+huichen90@users.noreply.github.com>
Wed, 16 May 2018 09:29:25 +0000 (17:29 +0800)
committerChih-Hsuan Yen <yan12125@gmail.com>
Mon, 21 May 2018 13:26:53 +0000 (21:26 +0800)
Fixed this bug :youtube_dl.utils.ExtractorError: An extractor error has occurred. (caused by KeyError('location',));

youtube_dl/extractor/leeco.py

index ffe10154b7c6acd986f41ea0036d4b195fb003fb..8dd1ce0d0e935888f3a90dedf92f113f2ef74f9b 100644 (file)
@@ -130,7 +130,7 @@ class LeIE(InfoExtractor):
             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())),