From 5f05e4f9e430b552dc450fe9922498080975dd85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Peter=20Bora=CC=81ros?= Date: Tue, 4 Jun 2013 02:28:52 +0200 Subject: [PATCH] minor fix of pdf url xpath hopefully they don`t change @title .. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 23159fb..18281f0 100644 --- a/Makefile +++ b/Makefile @@ -15,7 +15,7 @@ DATAPATH=//table[@class="stdstationtbl"]/./tr[3]//table/tr[position()>1] 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[text()="zde"]/@href) +DOPRAVAXPATH1=string(//div[@id="content-container"]/div[@id="pole"]/div/div[2]//a[starts-with(@title,"Stav dopravy k")]/@href) DOPRAVAXPATH2=//div[@id="content-container"]/div[@id="pole"]/div/div[2]//*[@class="img-c img-envelope"]/../preceding-sibling::* all: index.html doprava.html pomoc.html kontakty.html