|
@@ -19,10 +19,12 @@ class VideoProcessing:
|
|
|
response = requests.request( "POST", url, headers=headers, data=payload )
|
|
|
try:
|
|
|
response = response.json()
|
|
|
+ print(response)
|
|
|
result = response['result']
|
|
|
+ print(result)
|
|
|
cleaned_string = result.replace( "```json", "" ).replace( "```", "" ).strip()
|
|
|
json_data = json.loads( cleaned_string )
|
|
|
- print( json_data )
|
|
|
+ print(json_data)
|
|
|
return json_data
|
|
|
except Exception as e:
|
|
|
print(f"视频请求异常:{e}")
|