Skip to content

6F 11 86 C5 EF A3 D3 55 1C B6 35 1E #1691

6F 11 86 C5 EF A3 D3 55 1C B6 35 1E

6F 11 86 C5 EF A3 D3 55 1C B6 35 1E #1691

Workflow file for this run

name: scrape m3u
on:
push
jobs:
automated-scrape:
runs-on: ubuntu-latest
steps:
- name: checkout repository
uses: actions/checkout@main
- name: run commands
run: |
for i in "" \?page={2..5} ; do for j in $(cat cities.txt) ; do curl -s https://kuasark.com/en/cities/$j/$i | ./htmlq -a href .list-view a | grep stations | awk -F '/' '{print $4}' >> A-$j.txt ; echo "$j - $i" ; done ; done
- name: git stuff
run: |
git config --local user.email "action[bot]@github.com"
git config --local user.name "github-actions[bot]"
git add .
git commit -m "$(od -An -tx4 -w16 -N16 /dev/urandom | cut -c2- | tr '[:lower:]' '[:upper:]')"
git push