It is currently March 28th, 2024, 8:27 pm
Get help with creating, editing & fixing problems with skins
Javat
Posts: 2 Joined: April 14th, 2017, 9:20 am
Post
by Javat » April 14th, 2017, 9:35 am
hi guys
i have a silly problem with this WebParser plugin
i came up with this code after reading the tutorial.
Code: Select all
[MeasureSite]
Measure=Plugin
Plugin=WebParser
URL=http://dptime.ir
RegExp=(?siU)<h2 class="date_text">(.*)</h2>
according to tutorial i must get everything inside <h2></h2> which is "آدينه - 25 فروردين 1396" but im getting
"<h2 class="date_text">آدينه - 25 فروردين 1396</h2>"
what am i missing ?
balala
Rainmeter Sage
Posts: 16110 Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania
Post
by balala » April 14th, 2017, 10:09 am
Javat wrote: what am i missing ?
A
StringIndex=1 option. Add it and you'll get exactly the needed date.
Javat
Posts: 2 Joined: April 14th, 2017, 9:20 am
Post
by Javat » April 14th, 2017, 11:31 am
yup. thank you.
balala
Rainmeter Sage
Posts: 16110 Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania
Post
by balala » April 14th, 2017, 11:37 am
Glad to help.