I'm trying to write a skin that tells me how long it will be until the next bus comes. RTD (my local transit company) has an app called Next Ride that uses the real-time position of the bus to predict the actual arrival time of the bus, rather than the scheduled time.
The website that I'm pulling the information from is: https://www.rtd-denver.com/app/nextride/stop/12603
I'd like a meter that says something like: "The next bus leaves in ## minutes"
However, the text file that I get from a WebParserDump doesn't have that info inside of it. (tried to attach the file and couldn't for some reason...)
But if I use the Inspector tool in Firefox, I can eventually find the text I want by drilling down through the "..." buttons (see attached image).
Basically, I'd like to know if and how Rainmeter can pull the information displayed under the "Next Time" column of the RTD NextRide page.
Any help is appreciated
It is currently April 19th, 2024, 3:01 am
webparser dump doesn't include info I'm looking for
-
- Posts: 3
- Joined: February 13th, 2019, 8:18 pm
webparser dump doesn't include info I'm looking for
You do not have the required permissions to view the files attached to this post.
-
- Rainmeter Sage
- Posts: 16144
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: webparser dump doesn't include info I'm looking for
Without entering too deep, I think there is no way of a such action, because unfortunately the site uses Java scripts. A WebPareser measure can't handle this type of sites.
Sorry...
-
- Posts: 3
- Joined: February 13th, 2019, 8:18 pm
Re: webparser dump doesn't include info I'm looking for
Shucks. I thought that might be the answer, but was hoping for some magic...
Thanks for taking the time to reply though!
Thanks for taking the time to reply though!
-
- Developer
- Posts: 22629
- Joined: April 19th, 2009, 11:02 pm
- Location: Fort Hunt, Virginia, USA
Re: webparser dump doesn't include info I'm looking for
Yes, WebParser simply returns the same thing you would get if you "view source" on a page in your web browser.
-
- Rainmeter Sage
- Posts: 16144
- Joined: October 11th, 2010, 6:27 pm
- Location: Gheorgheni, Romania
Re: webparser dump doesn't include info I'm looking for
If you could find a "plain" version of the site, which doesn't use scripts, that would make it possible. I tried to find a such one, but failed. Do you have one?