From: huichen90 <35417991+huichen90@users.noreply.github.com> Date: Wed, 16 May 2018 09:29:25 +0000 (+0800) Subject: Update leeco.py X-Git-Url: https://git.cielonegro.org/gitweb.cgi?a=commitdiff_plain;h=5c766952dc6de9065060344342184c4037403409;p=youtube-dl.git Update leeco.py Fixed this bug :youtube_dl.utils.ExtractorError: An extractor error has occurred. (caused by KeyError('location',)); --- diff --git a/youtube_dl/extractor/leeco.py b/youtube_dl/extractor/leeco.py index ffe10154b..8dd1ce0d0 100644 --- a/youtube_dl/extractor/leeco.py +++ b/youtube_dl/extractor/leeco.py @@ -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())),