This commit is contained in:
Allan Fernando 2020-10-22 17:21:34 -07:00 committed by GitHub
commit bc4285ba55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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: