mirror of
https://github.com/quatalog/quatalog.git
synced 2024-09-28 20:48:57 +00:00
Fix typo
This commit is contained in:
parent
18ccae5fa7
commit
9b877abe66
2
.github/workflows/scraper.yml
vendored
2
.github/workflows/scraper.yml
vendored
|
@ -147,7 +147,7 @@ jobs:
|
||||||
cd static-generated/courses
|
cd static-generated/courses
|
||||||
grep -oe '<li>.*</li>' *.html |
|
grep -oe '<li>.*</li>' *.html |
|
||||||
sort -u |
|
sort -u |
|
||||||
grep -ve "-[0-9]9[4-7][0-9]" -e "-[0-9]9[89]0" -e "-[0-9]000[1-9]" -e "USAR" -e "ADMN" -e "USNA" -e "USAF" |
|
grep -ve "-[0-9]9[4-7][0-9]" -e "-[0-9]9[89]0" -e "-[0-9]00[1-9]" -e "USA[RF]" -e "ADMN" -e "USNA" |
|
||||||
sed -e 's/^/"/' -e 's/.html:<li>/","/' -e 's#</li>#"#' -e 's/"\([^"]*\)","\([^"]*\)"/"\2","\1"/' |
|
sed -e 's/^/"/' -e 's/.html:<li>/","/' -e 's#</li>#"#' -e 's/"\([^"]*\)","\([^"]*\)"/"\2","\1"/' |
|
||||||
sort > ../../quatalog-data/courses.csv
|
sort > ../../quatalog-data/courses.csv
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue