Created
December 19, 2023 07:44
-
-
Save VuokkoVuorinnen/e703af7d9a2a4bb35251c42f1c112117 to your computer and use it in GitHub Desktop.
soep.sh
This file contains hidden or 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
#!/bin/bash | |
curl -s -H "Referer: https://partyline.be/_predefined_pages/prijslijst_NL.asp?M_LANGUAGE=NL&M_SITENAME=PARTYLINE" "https://partyline.be/_predefined_pages/prijslijst_NL.asp?M_CATEGORIE=25" | xmllint --format --html --xpath '//div[@class="row no-gutters mt-5"]' - | sed -e 's/<[^>]*>/ /g' | sed -e 's/ //g' | sed '/^[[:space:]]*$/d' | sed -e 's/^[ \t]*//' | sed -e 's/ Koude suggestie.*//' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment