## 解析視頻
可解析`騰訊` `優酷` `愛奇藝` `芒果TV` `bilibili`等大部分影視平臺。不同的解析源速度和支持平臺均不同。
## 調用接口
**收費方式**:`每次消耗1點`
**接口地址**:`/api/v1/parse-video/parse`
**請求方式**:`GET`
**請求數據類型**:`application/x-www-form-urlencoded`
**響應數據類型**:`*/*`
**接口描述**:<p>傳入要解析的視頻地址即可</p>
**請求參數**:
**請求參數**:
| 參數名稱 | 參數說明 | 請求類型 | 是否必須 | 數據類型 | schema |
| -------- | -------- | ----- | -------- | -------- | ------ |
|url|要解析的視頻地址|query|true|string||
|source_id|解析源ID,默認100|query|false|integer(int32)||
**響應狀態**:
| 狀態碼 | 說明 | schema |
| -------- | -------- | ----- |
|200|OK|Result?ParseVideoVO?|
|401|Unauthorized||
|403|Forbidden||
|404|Not Found||
**響應參數**:
| 參數名稱 | 參數說明 | 類型 | schema |
| -------- | -------- | ----- |----- |
|data||ParseVideoVO|ParseVideoVO|
|  play_url|解析后的播放地址|string||
|  raw_url|原始地址|string||
|  source|視頻解析源|string||
|  type|視頻類型,hls,mp4等|string||
|error_code|響應碼 (非0即異常)|integer(int32)|integer(int32)|
|message|響應消息|string||
|meta||ParseVideoVO|ParseVideoVO|
|  play_url|解析后的播放地址|string||
|  raw_url|原始地址|string||
|  source|視頻解析源|string||
|  type|視頻類型,hls,mp4等|string||
**響應示例**:
```javascript
{
"data": {
"play_url": "",
"raw_url": "",
"source": "",
"type": ""
},
"error_code": 0,
"message": "success",
"meta": {
"play_url": "",
"raw_url": "",
"source": "",
"type": ""
}
}
```