From df0eca598dc95a64daf9f47156d6c1a162dc76b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=99=9A=E9=A3=8E=E6=8B=82=E6=9F=B3=E9=A2=9C?= <434857005@qq.com> Date: Sun, 7 Jan 2024 13:52:41 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0Hipy=E7=9A=84t3=E7=A4=BA?= =?UTF-8?q?=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- txt/hipy/cctv_spider.py | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/txt/hipy/cctv_spider.py b/txt/hipy/cctv_spider.py index c40f659..8362745 100644 --- a/txt/hipy/cctv_spider.py +++ b/txt/hipy/cctv_spider.py @@ -20,6 +20,7 @@ import time """ 配置示例: +t4不支持ext,api里会自动含有ext参数是base64编码后的选中的筛选条件 { "key":"hipy_cctv", @@ -29,7 +30,29 @@ import time "searchable":1, "quickSearch":1, "filterable":1, + "ext":"./cctv_spider.json" } + + { + "key":"hipy_cctv", + "name":"hipy_cctv", + "type":4, + "api":"http://192.168.31.49:5707/api/v1/vod/cctv_spider?api_ext={{host}}/txt/hipy/cctv_spider.json", + "searchable":1, + "quickSearch":1, + "filterable":1, + } + + { + "key": "t3_hipy_cctv", + "name": "t3_hipy_cctv", + "type": 3, + "api": "{{host}}/txt/hipy/cctv_spider.py", + "searchable": 1, + "quickSearch": 1, + "filterable": 1, + "ext": "{{host}}/txt/hipy/cctv_spider.json" +} """