Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 1579

Help: Rainmeter Skins • Re: Web Parser on Amazon

$
0
0
Sorry guys, I made it work. I only needed to add the UserAgent and worked right away.

This is the code:

Code:

[Rainmeter]Update=-1AccurateText=1[Metadata]Name=Author=Information=Version=License=Creative Commons Attribution - Non - Commercial - Share Alike 3.0[Variables][MeterString]Meter=String[MeasureSite]Measure=WebParserURL=https://www.amazon.com.mx/dp/B0C1TL9CT9/ref=cbw_us_mx_dp_narx_gl_pc?th=1UserAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36RegExp=(?siU)<span class="a-offscreen">(.*)</span>[SiteValue]Measure=WebParserURL=[MeasureSite]StringIndex=1
Yep, it was simply a test code to make sure it works before getting creative.

Statistics: Posted by RicardoTM — Yesterday, 11:30 pm



Viewing all articles
Browse latest Browse all 1579

Trending Articles