Open foresightyj opened 2 years ago
@github-actions run
#! /bin/sh
Q="黄金男孩"
URL=https://www.youtube.com/results?search_query=$(node -p 'encodeURIComponent("'$Q'")')
npm install --production
node index.js --url $URL --timeout=60
git config --local user.email "comment-bot@github.com"
git config --local user.name "comment-bot"
git checkout -b “search-$Q”
git pull --rebase
git add ./downloads
git commit -m "downloaded $Q"
git push
@github-actions run