Difficult question:
How can I get the travel time value (in the following example: "00h26") in the webpages of this site?
http://www.viamichelin.com/viamichelin/ ... =000000612
Thanks,
Dario Fo
Get a specific string in a webpage
Moderators: JRL, Dorian (MJT support)
Unfortunately the travel time is not plain text so it cannot be gleaned from the source of the page. Looks like javascript. So doesn't look like it can be done.
MJT Net Support
[email protected]
[email protected]
With a combo of CTRL+A and CTRL+C you'll be able to copy that kinda content to the clipboard.
I've not checked if the Clipboard var/content can be written to a file using
MSched's WLN> command.
Afterwards parse/split (separator is the space character) the line which contains the word Sommario to get the time value.
Sommario 20 km in 00h26 11 km in 00h07 su strade a scorrimento veloce
There are several providers which offers route planning. Check if another one fits better.
I've not checked if the Clipboard var/content can be written to a file using
MSched's WLN> command.

Afterwards parse/split (separator is the space character) the line which contains the word Sommario to get the time value.
Sommario 20 km in 00h26 11 km in 00h07 su strade a scorrimento veloce
