mirror of
https://github.com/yt-dlp/yt-dlp.git
synced 2025-08-09 05:29:41 +00:00
flake8
This commit is contained in:
@@ -58,8 +58,6 @@ class VikiBaseIE(InfoExtractor):
|
|||||||
resp = self._download_json(
|
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])
|
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')
|
error = resp.get('error')
|
||||||
if error:
|
if error:
|
||||||
if error == 'invalid timestamp':
|
if error == 'invalid timestamp':
|
||||||
|
Reference in New Issue
Block a user