-
Hi So, do anybody know if it's possible to extract the div mentioned below but only in the cases where It's citys in Denmark, and it's from this page DSB that lists changes to train schedules. I'm trying to make a detector that watches that page and when the string Klampenborg - Frederikssund is mentioned it should notify me, so I know when there is delayes and so on.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
OK, so the page needs Javascript, you will need to use chrome/sockpuppetbrowser (we have this on the paid subscriptions) 2nd, the text extracted seems to wrap over multiple lines, so using the 'Trigger text' and 'Extract Text' wont work
So we resort to using xPath :) So put this in the CSS/JSONPath/JQ/XPath Filters under [Edit]
that should solve it :) |
Beta Was this translation helpful? Give feedback.
OK, so the page needs Javascript, you will need to use chrome/sockpuppetbrowser (we have this on the paid subscriptions)
2nd, the text extracted seems to wrap over multiple lines, so using the 'Trigger text' and 'Extract Text' wont work
So we resort to using xPath :)
So put this in the CSS/JSONPath/JQ/XPath Filters under [Edit]
that should solve it :)