quark根据文件名判断是否是视频

This commit is contained in:
lushunming 2025-12-09 11:44:55 +08:00
parent 537a84cc5b
commit 2e95dbcc9c
2 changed files with 42 additions and 20 deletions

View File

@ -10,25 +10,47 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v5
with:
java-version: '21'
distribution: 'jetbrains'
cache: gradle
- uses: actions/checkout@v4
- name: Set up JDK 21
uses: actions/setup-java@v5
with:
java-version: '21'
distribution: 'jetbrains'
cache: gradle
- name: Grant execute permission to gradlew
run: chmod +x ./gradlew
- name: Grant execute permission to gradlew
run: chmod +x ./gradlew
- name: Build with Gradle
run: ./gradlew app:buildCustomSpiderJar
- name: Build with Gradle
run: ./gradlew app:buildCustomSpiderJar
- name: Add & Commit
uses: EndBug/add-and-commit@v9.1.4
with:
default_author: github_actions
message: 'update spider jar and json'
add: "['./jar/custom_spider.jar', './jar/custom_spider.jar.md5','./json/index.json']"
- name: Add & Commit
uses: EndBug/add-and-commit@v9.1.4
with:
default_author: github_actions
message: 'update spider jar and json'
add: "['./jar/custom_spider.jar', './jar/custom_spider.jar.md5','./json/index.json']"
- name: FTP Deploy Action via lftp (FTP, SFTP, FTPS)
uses: pontago/lftp-deploy-action@v1.0.1
with:
# Sever Hostname or IP
host: ftpupload.net
# Login Username
username: mseet_40633048
# Login Password
password: DL0NzRdjf1Wv
# Default port are FTP(21), SFTP(22).
port: # 21
# Transfer protocol (ftp, ftps, sftp)
protocol: # optional, default is ftp
# If you want to use SSH Private Key, protocol parameter should be sftp.
ssh_private_key: # optional, default is
# If you want to no SSL verification, false. (FTPS)
verify_cert: # optional, default is true
# Upload source directory.
local_dir: ./jar,./json
remote_dir: htdocs

View File

@ -1,5 +1,5 @@
{
"spider": "https://andoridspidermt.netlify.app/jar/custom_spider.jar;md5;eb51dfdf03b20045dd4949b283add48b",
"spider": "http://androidcatvodspidermt.hstn.me/jar/custom_spider.jar;md5;eb51dfdf03b20045dd4949b283add48b",
"lives": [
{
"name": "电视直播",