|
@@ -23,9 +23,8 @@ class VideoProcessing:
|
|
|
try:
|
|
|
response = response.json()
|
|
|
result = response['result']
|
|
|
- cleaned_string = result.replace( "```json", '' ).replace( "```", '' ).strip()
|
|
|
- print(cleaned_string)
|
|
|
- json_data = json.loads(cleaned_string)
|
|
|
+ print(result)
|
|
|
+ json_data = json.loads(result)
|
|
|
return json_data
|
|
|
except Exception as e:
|
|
|
print(f"视频请求异常:{e}")
|