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 @@ def _real_extract(self, url):
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())),