1
1
mirror of https://github.com/ytdl-org/youtube-dl synced 2024-11-13 04:49:25 +01:00

Update leeco.py

Fixed this bug :youtube_dl.utils.ExtractorError: An extractor error has occurred. (caused by KeyError('location',));
This commit is contained in:
huichen90 2018-05-16 17:29:25 +08:00 committed by Chih-Hsuan Yen
parent 504f20dd30
commit 5c766952dc

View File

@ -130,7 +130,7 @@ class LeIE(InfoExtractor):
media_id, 'Downloading flash playJson data', query={ media_id, 'Downloading flash playJson data', query={
'id': media_id, 'id': media_id,
'platid': 1, 'platid': 1,
'splatid': 101, 'splatid': 105,
'format': 1, 'format': 1,
'source': 1000, 'source': 1000,
'tkey': self.calc_time_key(int(time.time())), 'tkey': self.calc_time_key(int(time.time())),