mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2024-11-30 12:01:28 +00:00
flake8
This commit is contained in:
parent
0bfc3b7e7b
commit
e7ff46dc8b
|
@ -58,8 +58,6 @@ 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, headers={'x-viki-app-ver': '2.2.5.1428709186'}, expected_status=[200, 400, 404])
|
||||
|
||||
print(resp)
|
||||
|
||||
error = resp.get('error')
|
||||
if error:
|
||||
if error == 'invalid timestamp':
|
||||
|
|
Loading…
Reference in a new issue