commit 5c766952dc6de9065060344342184c4037403409
parent 504f20dd302189db2cfe1cb5ee9a622c39ee693c
Author: huichen90 <35417991+huichen90@users.noreply.github.com>
Date:   Wed, 16 May 2018 17:29:25 +0800

Update leeco.py

Fixed this bug :youtube_dl.utils.ExtractorError: An extractor error has occurred. (caused by KeyError('location',));
Diffstat:
Myoutube_dl/extractor/leeco.py | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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())),