1
0
mirror of https://github.com/l1ving/youtube-dl synced 2026-05-25 12:59:53 +08:00

fix viki error 404

This commit is contained in:
Allan Fernando
2020-06-04 22:57:49 -03:00
Unverified
parent d5147b65ac
commit 21f9a337a2
+1 -1
View File
@@ -56,7 +56,7 @@ class VikiBaseIE(InfoExtractor):
def _call_api(self, path, video_id, note, timestamp=None, post_data=None):
resp = self._download_json(
self._prepare_call(path, timestamp, post_data), video_id, note)
self._prepare_call(path, timestamp, post_data), video_id, note, headers={'x-viki-app-ver': self._APP_VERSION, 'x-viki-as-id': self._APP})
error = resp.get('error')
if error: