Skip to content
/ acao Public
generated from wuhan005/go-template

🦙 阿草,数据爬取工具人 / acao, the tool man for data scraping of https://asoul.video/.

License

Notifications You must be signed in to change notification settings

asoul-sig/acao

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🦙 acao Go Go Report Card Sourcegraph

acao(阿草), the tool man for data scraping of https://asoul.video/.

Deploy to Aliyun serverless function with Raika

update_member Update A-SOUL member profile.

$ GOOS=linux go build .

$ Raika function create \
    --name asoul_video_update_member \
    --memory 128 \
    --init-timeout 300 \
    --runtime-timeout 600 \
    --binary-file acao \
    --trigger=cron \
    --cron="0 30 * * * *" \
    --env SOURCE_REPORT_TYPE=update_member \
    --env SOURCE_REPORT_URL=https://asoul.video/source/report \
    --env SOURCE_REPORT_KEY=<REDACTED> \
    --platform aliyun

create_video Fetch A-SOUL member's videos from Douyin.

$ GOOS=linux go build .

$ Raika function create \
    --name asoul_video_create_video \
    --memory 128 \
    --init-timeout 300 \
    --runtime-timeout 600 \
    --binary-file acao \
    --trigger=cron \
    --cron="0 30 * * * *" \
    --env SOURCE_REPORT_TYPE=create_video \
    --env SOURCE_REPORT_URL=https://asoul.video/source/report \
    --env SOURCE_REPORT_KEY=<REDACTED> \
    --platform aliyun

update_video_meta Update video metadata, especially the created time.

$ GOOS=linux go build .

$ Raika function create \
    --name asoul_video_update_video_meta \
    --memory 128 \
    --init-timeout 300 \
    --runtime-timeout 600 \
    --binary-file acao \
    --trigger=cron \
    --cron="0 30 * * * *" \
    --env SOURCE_REPORT_TYPE=update_video_meta \
    --env SOURCE_REPORT_URL=https://asoul.video/source/report \
    --env SOURCE_REPORT_KEY=<REDACTED> \
    --platform aliyun

License

MIT

About

🦙 阿草,数据爬取工具人 / acao, the tool man for data scraping of https://asoul.video/.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Languages