mirror of
https://github.com/brmlab/povoden.git
synced 2025-06-07 17:54:10 +02:00
fix xpath extracting map
This commit is contained in:
parent
5660b0e723
commit
48b49c9fd2
1 changed files with 1 additions and 1 deletions
2
Makefile
2
Makefile
|
@ -23,7 +23,7 @@ VODANAMESXPATH=//table[@class="stdstationtbl"]/./tr[1]//table/./tr[2]/td/text()
|
|||
|
||||
DOPRAVAURL=http://www.dpp.cz/povodne-aktualni-doprava/
|
||||
DOPRAVATMP=/tmp/doprava.html
|
||||
DOPRAVAXPATH1=string(//div[@id="content-container"]/div[@id="pole"]/div/div[2]//a[starts-with(@title,"Stav dopravy k")]/@href)
|
||||
DOPRAVAXPATH1=string((//div[@id="content-container"]/div[@id="pole"]/div/div[2]//a[starts-with(@title,"Stav dopravy k")]/@href)[last()])
|
||||
DOPRAVAXPATH2=//div[@id="content-container"]/div[@id="pole"]/div/div[2]//*[@class="img-c img-envelope"]/../preceding-sibling::*
|
||||
|
||||
# function
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue