Hi, I'm using RegExp in rainmeter to get info from a website but since the code on the website sometimes changes it leads to lots of errors. To solve this I have about 10 RegExp measures that get each info from the website so that if one thing is changed it doesn't lead to an error for everything.
So I wanted to ask if this is the ideal way of doing this? will my IP get banned for too many requests? and if there is a way to download the webpage once and look for info from it separately instead of each RegExp downloading it again.
Thanks
It is currently March 29th, 2024, 5:39 am
Using RegExp
-
- Posts: 16
- Joined: March 30th, 2018, 12:33 am
-
- Posts: 826
- Joined: November 20th, 2012, 11:58 pm
Re: Using RegExp
Hard to answer about a possible IP ban, but another way to download the webpage is using the "mix" of webparser and LUA (mix a little bit difficult).
Practically, you would use a RegExp option to download the whole webpage and to use a lua script to capture the information you want.
For example see this skin by jsmorley https://forum.rainmeter.net/viewtopic.php?f=27&t=22696
Practically, you would use a RegExp option to download the whole webpage and to use a lua script to capture the information you want.
For example see this skin by jsmorley https://forum.rainmeter.net/viewtopic.php?f=27&t=22696