Clean code

This commit is contained in:
FongMi 2022-09-23 23:34:58 +08:00
parent 6306ef1612
commit da7a9884e8
4 changed files with 72 additions and 60 deletions

125
README.md
View File

@ -1,66 +1,79 @@
# CatVodSpider # CatVodSpider
### Based on CatVod ### Based on CatVod
https://github.com/CatVodTVOfficial/CatVodTVSpider https://github.com/CatVodTVOfficial/CatVodTVSpider
### Usage ### Usage
```json ```json
{ {
"sites":[ "sites": [
{ {
"key":"哔哩哔哩", "key": "哔哩哔哩",
"name":"哔哩哔哩", "name": "哔哩哔哩",
"type":3, "type": 3,
"api":"csp_Bili", "api": "csp_Bili",
"searchable":1, "searchable": 1,
"quickSearch":1, "quickSearch": 1,
"filterable":1, "filterable": 1,
"ext":"bili.json", "ext": "bili.json",
"jar":"https://github.com/FongMi/CatVodSpider/raw/main/jar/custom_spider.jar" "jar": "https://github.com/FongMi/CatVodSpider/raw/main/jar/custom_spider.jar"
}, },
{ {
"key":"Alist", "key": "Alist",
"name":"Alist", "name": "Alist",
"type":3, "type": 3,
"api":"csp_Alist", "api": "csp_Alist",
"searchable":1, "searchable": 1,
"quickSearch":1, "quickSearch": 1,
"filterable":1, "filterable": 1,
"ext":"alist.json", "ext": "alist.json",
"jar":"https://github.com/FongMi/CatVodSpider/raw/main/jar/custom_spider.jar" "jar": "https://github.com/FongMi/CatVodSpider/raw/main/jar/custom_spider.jar"
}, },
{ {
"key":"巴士", "key": "巴士",
"name":"巴士", "name": "巴士",
"type":3, "type": 3,
"api":"csp_Dm84", "api": "csp_Dm84",
"searchable":1, "searchable": 1,
"quickSearch":1, "quickSearch": 1,
"filterable":1, "filterable": 1,
"jar":"https://github.com/FongMi/CatVodSpider/raw/main/jar/custom_spider.jar" "jar": "https://github.com/FongMi/CatVodSpider/raw/main/jar/custom_spider.jar"
}, },
{ {
"key":"阿里盤搜", "key": "紙條",
"name":"阿里盤搜", "name": "紙條",
"type":3, "type": 3,
"api":"csp_AliPanSou", "api": "csp_Paper",
"searchable":1, "searchable": 1,
"quickSearch":1, "quickSearch": 1,
"filterable":1, "filterable": 1,
"ext":"your ali token", "ext": "your ali token",
"jar":"https://github.com/FongMi/CatVodSpider/raw/main/jar/custom_spider.jar" "jar": "https://github.com/FongMi/CatVodSpider/raw/main/jar/custom_spider.jar"
}, },
{ {
"key":"push_agent", "key": "盤搜",
"name":"推送", "name": "盤搜",
"type":3, "type": 3,
"api":"csp_Push", "api": "csp_PanSou",
"searchable":1, "searchable": 1,
"quickSearch":1, "quickSearch": 1,
"filterable":1, "filterable": 1,
"ext":"your ali token", "ext": "your ali token",
"jar":"https://github.com/FongMi/CatVodSpider/raw/main/jar/custom_spider.jar" "jar": "https://github.com/FongMi/CatVodSpider/raw/main/jar/custom_spider.jar"
} },
] {
"key": "push_agent",
"name": "推送",
"type": 3,
"api": "csp_Push",
"searchable": 1,
"quickSearch": 1,
"filterable": 1,
"ext": "your ali token",
"jar": "https://github.com/FongMi/CatVodSpider/raw/main/jar/custom_spider.jar"
}
]
} }
``` ```

View File

@ -12,7 +12,6 @@ public class MainActivity extends Activity {
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main); setContentView(R.layout.activity_main);
new Thread(() -> { new Thread(() -> {
}).start(); }).start();
} }
} }

Binary file not shown.

View File

@ -1 +1 @@
75d7ea667c3b32f301bdc9daceb48e4c 2b8c4129ab96da2d5d3a1db0e7414e9f