feat(orte): add server root to urls
This commit is contained in:
@@ -2,7 +2,8 @@
|
|||||||
root=https://www.orte-in-deutschland.de
|
root=https://www.orte-in-deutschland.de
|
||||||
|
|
||||||
extract_orte() {
|
extract_orte() {
|
||||||
htmlq 'a[href*="-gemeinde-"], a[href*="-ort-"]' --attribute href
|
htmlq 'a[href*="-gemeinde-"], a[href*="-ort-"]' --attribute href \
|
||||||
|
| sed "s#^#$root/#"
|
||||||
}
|
}
|
||||||
|
|
||||||
curl -sSL "$root/alphabetisches-ortsverzeichnis.html" \
|
curl -sSL "$root/alphabetisches-ortsverzeichnis.html" \
|
||||||
|
|||||||
33806
orte/orte-unique.txt
Normal file
33806
orte/orte-unique.txt
Normal file
File diff suppressed because it is too large
Load Diff
67632
orte/orte.txt
67632
orte/orte.txt
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user