针对有-items参数时,视频的序号应该取整个合集中的序号,而不是取被下载的第几个 (#1317) #164
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tiktok | |
on: | |
push: | |
paths: | |
- "extractors/tiktok/*.go" | |
- ".github/workflows/stream_tiktok.yml" | |
pull_request: | |
paths: | |
- "extractors/tiktok/*.go" | |
- ".github/workflows/stream_tiktok.yml" | |
schedule: | |
# run ci weekly | |
- cron: "0 0 * * 0" | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
go: ["1.21"] | |
os: [ubuntu-latest] | |
name: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-go@v2 | |
with: | |
go-version: ${{ matrix.go }} | |
- name: Test | |
run: go test -timeout 5m -race -coverpkg=./... -coverprofile=coverage.txt github.com/iawia002/lux/extractors/tiktok |