It is currently May 27th, 2019, 12:13 am

Help with webparser

Help with creating, editing & fixing problems with skins
User avatar
balala
Rainmeter Sage
Posts: 8216
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Help with webparser

balala » January 31st, 2019, 8:16 pm

balala wrote:
January 31st, 2019, 5:30 pm
Later I'll be back trying to solve the second ask, as well.
"Later" has come:

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1
BackgroundMode=2
SolidColor=0,0,0,80

[Variables]
ToolTip=0
Item=(?(?=.*<img alt="").*class=".*" src="(.*)">.*<h4><a href=".*">(.*)</a></h4>.*<h6 class="text-muted">(.*)</h6>.*<p>(.*)<a href=".*">.*</div>)
ItemNo=(?(?=.*<img alt="").*class="cover-overlay" src=".*">)

[StringStyle]
W=430
ClipString=1
FontColor=220,220,220
FontEffectColor=0,0,0,180
StringEffect=Shadow
SolidColor=0,0,0,1
FontFace=Segoe UI
StringStyle=BOLD
AntiAlias=1
Text=%1

[ImageStyle]
W=180
H=135
SolidColor=0,0,0,80
PreserveAspectRatio=1
MouseLeaveAction=[!SetOption #CURRENTSECTION# SolidColor "0,0,0,80"][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[MeasureParent]
Measure=WebParser
UpdateRate=900
Url=https://thegamesdb.net/
RegExp=(?siU)#ItemNo##ItemNo##ItemNo##ItemNo##ItemNo##ItemNo##Item##Item##Item##Item##Item#

[MeasureImage1]
Measure=WebParser
Url=[MeasureParent]
StringIndex=1
IfMatch=^$
IfMatchAction=[!DisableMeasure "MeasureDownloadImage1"]
IfNotMatchAction=[!EnableMeasure "MeasureDownloadImage1"][!CommandMeasure "MeasureDownloadImage1" "Update"]

[MeasureTitle1]
Measure=WebParser
Url=[MeasureParent]
StringIndex=2

[MeasurePlatform1]
Measure=WebParser
Url=[MeasureParent]
StringIndex=3

[MeasureDescription1]
Measure=WebParser
Url=[MeasureParent]
StringIndex=4
RegExpSubstitute=1
Substitute="\n":"","\s{2,}":""

[MeasureDownloadImage1]
Measure=WebParser
URL=[&MeasureImage1]
Download=1
DynamicVariables=1
Disabled=1

[MeasureImage2]
Measure=WebParser
Url=[MeasureParent]
StringIndex=5
IfMatch=^$
IfMatchAction=[!DisableMeasure "MeasureDownloadImage2"]
IfNotMatchAction=[!EnableMeasure "MeasureDownloadImage2"][!CommandMeasure "MeasureDownloadImage2" "Update"]

[MeasureTitle2]
Measure=WebParser
Url=[MeasureParent]
StringIndex=6

[MeasurePlatform2]
Measure=WebParser
Url=[MeasureParent]
StringIndex=7

[MeasureDescription2]
Measure=WebParser
Url=[MeasureParent]
StringIndex=8
RegExpSubstitute=1
Substitute="\n":"","\s{2,}":""

[MeasureDownloadImage2]
Measure=WebParser
URL=[&MeasureImage2]
Download=1
DynamicVariables=1
Disabled=1

[MeasureImage3]
Measure=WebParser
Url=[MeasureParent]
StringIndex=9
IfMatch=^$
IfMatchAction=[!DisableMeasure "MeasureDownloadImage3"]
IfNotMatchAction=[!EnableMeasure "MeasureDownloadImage3"][!CommandMeasure "MeasureDownloadImage3" "Update"]

[MeasureTitle3]
Measure=WebParser
Url=[MeasureParent]
StringIndex=10

[MeasurePlatform3]
Measure=WebParser
Url=[MeasureParent]
StringIndex=11

[MeasureDescription3]
Measure=WebParser
Url=[MeasureParent]
StringIndex=12
RegExpSubstitute=1
Substitute="\n":"","\s{2,}":""

[MeasureDownloadImage3]
Measure=WebParser
URL=[&MeasureImage3]
Download=1
DynamicVariables=1
Disabled=1

[MeasureImage4]
Measure=WebParser
Url=[MeasureParent]
StringIndex=13
IfMatch=^$
IfMatchAction=[!DisableMeasure "MeasureDownloadImage4"]
IfNotMatchAction=[!EnableMeasure "MeasureDownloadImage4"][!CommandMeasure "MeasureDownloadImage4" "Update"]

[MeasureTitle4]
Measure=WebParser
Url=[MeasureParent]
StringIndex=14

[MeasurePlatform4]
Measure=WebParser
Url=[MeasureParent]
StringIndex=15

[MeasureDescription4]
Measure=WebParser
Url=[MeasureParent]
StringIndex=16
RegExpSubstitute=1
Substitute="\n":"","\s{2,}":""

[MeasureDownloadImage4]
Measure=WebParser
URL=[&MeasureImage4]
Download=1
DynamicVariables=1
Disabled=1

[MeasureImage5]
Measure=WebParser
Url=[MeasureParent]
StringIndex=17
IfMatch=^$
IfMatchAction=[!DisableMeasure "MeasureDownloadImage5"]
IfNotMatchAction=[!EnableMeasure "MeasureDownloadImage5"][!CommandMeasure "MeasureDownloadImage5" "Update"]

[MeasureTitle5]
Measure=WebParser
Url=[MeasureParent]
StringIndex=18

[MeasurePlatform5]
Measure=WebParser
Url=[MeasureParent]
StringIndex=19

[MeasureDescription5]
Measure=WebParser
Url=[MeasureParent]
StringIndex=20
RegExpSubstitute=1
Substitute="\n":"","\s{2,}":""

[MeasureDownloadImage5]
Measure=WebParser
URL=[&MeasureImage5]
Download=1
DynamicVariables=1
Disabled=1

[MeterTitle]
Meter=STRING
MeterStyle=StringStyle
MeasureName=MeasureTitle1
X=220
Y=5
H=44
FontSize=24
StringAlign=CENTER
Group=Elements
SolidColor=0,0,0,80

[MeterPlatform]
Meter=STRING
MeterStyle=StringStyle
MeasureName=MeasurePlatform1
X=-215r
Y=5R
H=18
FontSize=10
StringAlign=LEFT
Group=Elements
SolidColor=0,0,0,80

[MeterDescription]
Meter=STRING
MeterStyle=StringStyle
MeasureName=MeasureDescription1
X=0r
Y=6R
H=290
FontSize=14
StringAlign=LEFT
Group=Elements
SolidColor=0,0,0,80

[MeterImage]
Meter=Image
X=5R
Y=5
W=480
H=365
PreserveAspectRatio=1
SolidColor=0,0,0,80

[MeterImage1]
Meter=Image
MeterStyle=ImageStyle
MeasureName=MeasureDownloadImage1
X=0
Y=5R
MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor "0,0,0,150"][!SetOption MeterTitle MeasureName "MeasureTitle1"][!SetOption MeterPlatform MeasureName "MeasurePlatform1"][!SetOption MeterDescription MeasureName "MeasureDescription1"][!SetOption MeterImage MeasureName "MeasureDownloadImage1"][!UpdateMeter "#CURRENTSECTION#"][!UpdateMeterGroup "Elements"][!Redraw]

[MeterImage2]
Meter=Image
MeterStyle=ImageStyle
MeasureName=MeasureDownloadImage2
X=5R
Y=0r
MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor "0,0,0,150"][!SetOption MeterTitle MeasureName "MeasureTitle2"][!SetOption MeterPlatform MeasureName "MeasurePlatform2"][!SetOption MeterDescription MeasureName "MeasureDescription2"][!SetOption MeterImage MeasureName "MeasureDownloadImage2"][!UpdateMeter "#CURRENTSECTION#"][!UpdateMeter "MeterImage"][!Redraw]

[MeterImage3]
Meter=Image
MeterStyle=ImageStyle
MeasureName=MeasureDownloadImage3
X=5R
Y=0r
MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor "0,0,0,150"][!SetOption MeterTitle MeasureName "MeasureTitle3"][!SetOption MeterPlatform MeasureName "MeasurePlatform3"][!SetOption MeterDescription MeasureName "MeasureDescription3"][!SetOption MeterImage MeasureName "MeasureDownloadImage3"][!UpdateMeter "#CURRENTSECTION#"][!UpdateMeter "MeterImage"][!Redraw]

[MeterImage4]
Meter=Image
MeterStyle=ImageStyle
MeasureName=MeasureDownloadImage4
X=5R
Y=0r
MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor "0,0,0,150"][!SetOption MeterTitle MeasureName "MeasureTitle4"][!SetOption MeterPlatform MeasureName "MeasurePlatform4"][!SetOption MeterDescription MeasureName "MeasureDescription4"][!SetOption MeterImage MeasureName "MeasureDownloadImage4"][!UpdateMeter "#CURRENTSECTION#"][!UpdateMeter "MeterImage"][!Redraw]

[MeterImage5]
Meter=Image
MeterStyle=ImageStyle
MeasureName=MeasureDownloadImage5
X=5R
Y=0r
MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor "0,0,0,150"][!SetOption MeterTitle MeasureName "MeasureTitle5"][!SetOption MeterPlatform MeasureName "MeasurePlatform5"][!SetOption MeterDescription MeasureName "MeasureDescription5"][!SetOption MeterImage MeasureName "MeasureDownloadImage5"][!UpdateMeter "#CURRENTSECTION#"][!UpdateMeter "MeterImage"][!Redraw]
For now just the first five games are shown. But if you find this ok, further ones can be added. Just please let me know how do you find what we have so far.
Dhp84
Posts: 17
Joined: June 7th, 2017, 4:29 am

Re: Help with webparser

Dhp84 » January 31st, 2019, 9:00 pm

This is Awesome!!!!! Thanks again for your help, that's exactly the direction I was looking at.
User avatar
balala
Rainmeter Sage
Posts: 8216
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Help with webparser

balala » January 31st, 2019, 9:36 pm

Dhp84 wrote:
January 31st, 2019, 9:00 pm
This is Awesome!!!!! Thanks again for your help, that's exactly the direction I was looking at.
I'm glad. Do you want to add further games as well?
Dhp84
Posts: 17
Joined: June 7th, 2017, 4:29 am

Re: Help with webparser

Dhp84 » January 31st, 2019, 10:17 pm

balala wrote:
January 31st, 2019, 9:36 pm
I'm glad. Do you want to add further games as well?
Yes! so you are able to scroll through the games, what I want is to be able to add my games and maybe some of the artwork as the quality doesn't seem to be that great quality.
User avatar
balala
Rainmeter Sage
Posts: 8216
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Help with webparser

balala » February 1st, 2019, 2:46 pm

Dhp84 wrote:
January 31st, 2019, 10:17 pm
Yes! so you are able to scroll through the games, what I want is to be able to add my games and maybe some of the artwork as the quality doesn't seem to be that great quality.
Ok then:

Code: Select all

[Rainmeter]
Update=1000
DynamicWindowSize=1
BackgroundMode=2
SolidColor=0,0,0,80
SkinWidth=930
SkinHeight=515

[Variables]
ToolTip=0
Item=(?(?=.*<img alt="").*class=".*" src="(.*)">.*<h4><a href=".*">(.*)</a></h4>.*<h6 class="text-muted">(.*)</h6>.*<p>(.*)<a href=".*">.*</div>)
ItemNo=(?(?=.*<img alt="").*class="cover-overlay" src=".*">)
PositionX=0

[StringStyle]
W=430
ClipString=1
FontColor=220,220,220
FontEffectColor=0,0,0,180
StringEffect=Shadow
SolidColor=0,0,0,1
FontFace=Segoe UI
StringStyle=BOLD
AntiAlias=1
Text=%1

[ImageStyle]
W=180
H=135
SolidColor=0,0,0,80
PreserveAspectRatio=1
MouseLeaveAction=[!SetOption #CURRENTSECTION# SolidColor "0,0,0,80"][!UpdateMeter "#CURRENTSECTION#"][!Redraw]

[MeasureParent]
Measure=WebParser
UpdateRate=900
Url=https://thegamesdb.net/
RegExp=(?siU)#ItemNo##ItemNo##ItemNo##ItemNo##ItemNo##ItemNo##Item##Item##Item##Item##Item##Item##Item##Item##Item##Item#

[MeasureImage1]
Measure=WebParser
Url=[MeasureParent]
StringIndex=1
IfMatch=^$
IfMatchAction=[!DisableMeasure "MeasureDownloadImage1"]
IfNotMatchAction=[!EnableMeasure "MeasureDownloadImage1"][!CommandMeasure "MeasureDownloadImage1" "Update"]

[MeasureTitle1]
Measure=WebParser
Url=[MeasureParent]
StringIndex=2

[MeasurePlatform1]
Measure=WebParser
Url=[MeasureParent]
StringIndex=3

[MeasureDescription1]
Measure=WebParser
Url=[MeasureParent]
StringIndex=4
RegExpSubstitute=1
Substitute="\n":"","\s{2,}":""

[MeasureDownloadImage1]
Measure=WebParser
URL=[&MeasureImage1]
Download=1
DynamicVariables=1
Disabled=1

[MeasureImage2]
Measure=WebParser
Url=[MeasureParent]
StringIndex=5
IfMatch=^$
IfMatchAction=[!DisableMeasure "MeasureDownloadImage2"]
IfNotMatchAction=[!EnableMeasure "MeasureDownloadImage2"][!CommandMeasure "MeasureDownloadImage2" "Update"]

[MeasureTitle2]
Measure=WebParser
Url=[MeasureParent]
StringIndex=6

[MeasurePlatform2]
Measure=WebParser
Url=[MeasureParent]
StringIndex=7

[MeasureDescription2]
Measure=WebParser
Url=[MeasureParent]
StringIndex=8
RegExpSubstitute=1
Substitute="\n":"","\s{2,}":""

[MeasureDownloadImage2]
Measure=WebParser
URL=[&MeasureImage2]
Download=1
DynamicVariables=1
Disabled=1

[MeasureImage3]
Measure=WebParser
Url=[MeasureParent]
StringIndex=9
IfMatch=^$
IfMatchAction=[!DisableMeasure "MeasureDownloadImage3"]
IfNotMatchAction=[!EnableMeasure "MeasureDownloadImage3"][!CommandMeasure "MeasureDownloadImage3" "Update"]

[MeasureTitle3]
Measure=WebParser
Url=[MeasureParent]
StringIndex=10

[MeasurePlatform3]
Measure=WebParser
Url=[MeasureParent]
StringIndex=11

[MeasureDescription3]
Measure=WebParser
Url=[MeasureParent]
StringIndex=12
RegExpSubstitute=1
Substitute="\n":"","\s{2,}":""

[MeasureDownloadImage3]
Measure=WebParser
URL=[&MeasureImage3]
Download=1
DynamicVariables=1
Disabled=1

[MeasureImage4]
Measure=WebParser
Url=[MeasureParent]
StringIndex=13
IfMatch=^$
IfMatchAction=[!DisableMeasure "MeasureDownloadImage4"]
IfNotMatchAction=[!EnableMeasure "MeasureDownloadImage4"][!CommandMeasure "MeasureDownloadImage4" "Update"]

[MeasureTitle4]
Measure=WebParser
Url=[MeasureParent]
StringIndex=14

[MeasurePlatform4]
Measure=WebParser
Url=[MeasureParent]
StringIndex=15

[MeasureDescription4]
Measure=WebParser
Url=[MeasureParent]
StringIndex=16
RegExpSubstitute=1
Substitute="\n":"","\s{2,}":""

[MeasureDownloadImage4]
Measure=WebParser
URL=[&MeasureImage4]
Download=1
DynamicVariables=1
Disabled=1

[MeasureImage5]
Measure=WebParser
Url=[MeasureParent]
StringIndex=17
IfMatch=^$
IfMatchAction=[!DisableMeasure "MeasureDownloadImage5"]
IfNotMatchAction=[!EnableMeasure "MeasureDownloadImage5"][!CommandMeasure "MeasureDownloadImage5" "Update"]

[MeasureTitle5]
Measure=WebParser
Url=[MeasureParent]
StringIndex=18

[MeasurePlatform5]
Measure=WebParser
Url=[MeasureParent]
StringIndex=19

[MeasureDescription5]
Measure=WebParser
Url=[MeasureParent]
StringIndex=20
RegExpSubstitute=1
Substitute="\n":"","\s{2,}":""

[MeasureDownloadImage5]
Measure=WebParser
URL=[&MeasureImage5]
Download=1
DynamicVariables=1
Disabled=1




[MeasureImage6]
Measure=WebParser
Url=[MeasureParent]
StringIndex=21
IfMatch=^$
IfMatchAction=[!DisableMeasure "MeasureDownloadImage6"]
IfNotMatchAction=[!EnableMeasure "MeasureDownloadImage6"][!CommandMeasure "MeasureDownloadImage6" "Update"]

[MeasureTitle6]
Measure=WebParser
Url=[MeasureParent]
StringIndex=22

[MeasurePlatform6]
Measure=WebParser
Url=[MeasureParent]
StringIndex=23

[MeasureDescription6]
Measure=WebParser
Url=[MeasureParent]
StringIndex=24
RegExpSubstitute=1
Substitute="\n":"","\s{2,}":""

[MeasureDownloadImage6]
Measure=WebParser
URL=[&MeasureImage6]
Download=1
DynamicVariables=1
Disabled=1

[MeasureImage7]
Measure=WebParser
Url=[MeasureParent]
StringIndex=25
IfMatch=^$
IfMatchAction=[!DisableMeasure "MeasureDownloadImage7"]
IfNotMatchAction=[!EnableMeasure "MeasureDownloadImage7"][!CommandMeasure "MeasureDownloadImage7" "Update"]

[MeasureTitle7]
Measure=WebParser
Url=[MeasureParent]
StringIndex=26

[MeasurePlatform7]
Measure=WebParser
Url=[MeasureParent]
StringIndex=27

[MeasureDescription7]
Measure=WebParser
Url=[MeasureParent]
StringIndex=28
RegExpSubstitute=1
Substitute="\n":"","\s{2,}":""

[MeasureDownloadImage7]
Measure=WebParser
URL=[&MeasureImage7]
Download=1
DynamicVariables=1
Disabled=1

[MeasureImage8]
Measure=WebParser
Url=[MeasureParent]
StringIndex=29
IfMatch=^$
IfMatchAction=[!DisableMeasure "MeasureDownloadImage8"]
IfNotMatchAction=[!EnableMeasure "MeasureDownloadImage8"][!CommandMeasure "MeasureDownloadImage8" "Update"]

[MeasureTitle8]
Measure=WebParser
Url=[MeasureParent]
StringIndex=30

[MeasurePlatform8]
Measure=WebParser
Url=[MeasureParent]
StringIndex=31

[MeasureDescription8]
Measure=WebParser
Url=[MeasureParent]
StringIndex=32
RegExpSubstitute=1
Substitute="\n":"","\s{2,}":""

[MeasureDownloadImage8]
Measure=WebParser
URL=[&MeasureImage8]
Download=1
DynamicVariables=1
Disabled=1

[MeasureImage9]
Measure=WebParser
Url=[MeasureParent]
StringIndex=33
IfMatch=^$
IfMatchAction=[!DisableMeasure "MeasureDownloadImage9"]
IfNotMatchAction=[!EnableMeasure "MeasureDownloadImage9"][!CommandMeasure "MeasureDownloadImage9" "Update"]

[MeasureTitle9]
Measure=WebParser
Url=[MeasureParent]
StringIndex=34

[MeasurePlatform9]
Measure=WebParser
Url=[MeasureParent]
StringIndex=35

[MeasureDescription9]
Measure=WebParser
Url=[MeasureParent]
StringIndex=36
RegExpSubstitute=1
Substitute="\n":"","\s{2,}":""

[MeasureDownloadImage9]
Measure=WebParser
URL=[&MeasureImage9]
Download=1
DynamicVariables=1
Disabled=1

[MeasureImage10]
Measure=WebParser
Url=[MeasureParent]
StringIndex=37
IfMatch=^$
IfMatchAction=[!DisableMeasure "MeasureDownloadImage10"]
IfNotMatchAction=[!EnableMeasure "MeasureDownloadImage10"][!CommandMeasure "MeasureDownloadImage10" "Update"]

[MeasureTitle10]
Measure=WebParser
Url=[MeasureParent]
StringIndex=38

[MeasurePlatform10]
Measure=WebParser
Url=[MeasureParent]
StringIndex=39

[MeasureDescription10]
Measure=WebParser
Url=[MeasureParent]
StringIndex=40
RegExpSubstitute=1
Substitute="\n":"","\s{2,}":""

[MeasureDownloadImage10]
Measure=WebParser
URL=[&MeasureImage10]
Download=1
DynamicVariables=1
Disabled=1

[MeterTitle]
Meter=STRING
MeterStyle=StringStyle
MeasureName=MeasureTitle1
X=220
Y=5
H=44
FontSize=24
StringAlign=CENTER
Group=Elements
SolidColor=0,0,0,80

[MeterPlatform]
Meter=STRING
MeterStyle=StringStyle
MeasureName=MeasurePlatform1
X=-215r
Y=5R
H=18
FontSize=10
StringAlign=LEFT
Group=Elements
SolidColor=0,0,0,80

[MeterDescription]
Meter=STRING
MeterStyle=StringStyle
MeasureName=MeasureDescription1
X=0r
Y=6R
H=290
FontSize=14
StringAlign=LEFT
Group=Elements
SolidColor=0,0,0,80

[MeterImage]
Meter=Image
X=5R
Y=5
W=485
H=365
PreserveAspectRatio=1
SolidColor=0,0,0,80

[MeterScroll]
Meter=Image
SolidColor=255,255,255,1
X=5
Y=5R
W=920
H=135
MouseScrollDownAction=[!SetVariable PositionX "(Clamp((#PositionX#-1),(5-10),0))"][!UpdateMeter "MeterImage1"][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
MouseScrollUpAction=[!SetVariable PositionX "(Clamp((#PositionX#+1),(5-10),0))"][!UpdateMeter "MeterImage1"][!UpdateMeter "#CURRENTSECTION#"][!Redraw]
DynamicVariables=1

[MeterImage1]
Meter=Image
MeterStyle=ImageStyle
MeasureName=MeasureDownloadImage1
X=(5+#PositionX#*(5+[#CURRENTSECTION#:W]))
Y=0r
MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor "0,0,0,150"][!SetOption MeterTitle MeasureName "MeasureTitle1"][!SetOption MeterPlatform MeasureName "MeasurePlatform1"][!SetOption MeterDescription MeasureName "MeasureDescription1"][!SetOption MeterImage MeasureName "MeasureDownloadImage1"][!UpdateMeter "#CURRENTSECTION#"][!UpdateMeterGroup "Elements"][!Redraw]
DynamicVariables=1

[MeterImage2]
Meter=Image
MeterStyle=ImageStyle
MeasureName=MeasureDownloadImage2
X=5R
Y=0r
MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor "0,0,0,150"][!SetOption MeterTitle MeasureName "MeasureTitle2"][!SetOption MeterPlatform MeasureName "MeasurePlatform2"][!SetOption MeterDescription MeasureName "MeasureDescription2"][!SetOption MeterImage MeasureName "MeasureDownloadImage2"][!UpdateMeter "#CURRENTSECTION#"][!UpdateMeter "MeterImage"][!Redraw]

[MeterImage3]
Meter=Image
MeterStyle=ImageStyle
MeasureName=MeasureDownloadImage3
X=5R
Y=0r
MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor "0,0,0,150"][!SetOption MeterTitle MeasureName "MeasureTitle3"][!SetOption MeterPlatform MeasureName "MeasurePlatform3"][!SetOption MeterDescription MeasureName "MeasureDescription3"][!SetOption MeterImage MeasureName "MeasureDownloadImage3"][!UpdateMeter "#CURRENTSECTION#"][!UpdateMeter "MeterImage"][!Redraw]

[MeterImage4]
Meter=Image
MeterStyle=ImageStyle
MeasureName=MeasureDownloadImage4
X=5R
Y=0r
MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor "0,0,0,150"][!SetOption MeterTitle MeasureName "MeasureTitle4"][!SetOption MeterPlatform MeasureName "MeasurePlatform4"][!SetOption MeterDescription MeasureName "MeasureDescription4"][!SetOption MeterImage MeasureName "MeasureDownloadImage4"][!UpdateMeter "#CURRENTSECTION#"][!UpdateMeter "MeterImage"][!Redraw]

[MeterImage5]
Meter=Image
MeterStyle=ImageStyle
MeasureName=MeasureDownloadImage5
X=5R
Y=0r
MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor "0,0,0,150"][!SetOption MeterTitle MeasureName "MeasureTitle5"][!SetOption MeterPlatform MeasureName "MeasurePlatform5"][!SetOption MeterDescription MeasureName "MeasureDescription5"][!SetOption MeterImage MeasureName "MeasureDownloadImage5"][!UpdateMeter "#CURRENTSECTION#"][!UpdateMeter "MeterImage"][!Redraw]

[MeterImage6]
Meter=Image
MeterStyle=ImageStyle
MeasureName=MeasureDownloadImage6
X=5R
Y=0r
MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor "0,0,0,150"][!SetOption MeterTitle MeasureName "MeasureTitle6"][!SetOption MeterPlatform MeasureName "MeasurePlatform6"][!SetOption MeterDescription MeasureName "MeasureDescription6"][!SetOption MeterImage MeasureName "MeasureDownloadImage6"][!UpdateMeter "#CURRENTSECTION#"][!UpdateMeter "MeterImage"][!Redraw]

[MeterImage7]
Meter=Image
MeterStyle=ImageStyle
MeasureName=MeasureDownloadImage7
X=5R
Y=0r
MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor "0,0,0,150"][!SetOption MeterTitle MeasureName "MeasureTitle7"][!SetOption MeterPlatform MeasureName "MeasurePlatform7"][!SetOption MeterDescription MeasureName "MeasureDescription7"][!SetOption MeterImage MeasureName "MeasureDownloadImage7"][!UpdateMeter "#CURRENTSECTION#"][!UpdateMeter "MeterImage"][!Redraw]

[MeterImage8]
Meter=Image
MeterStyle=ImageStyle
MeasureName=MeasureDownloadImage8
X=5R
Y=0r
MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor "0,0,0,150"][!SetOption MeterTitle MeasureName "MeasureTitle8"][!SetOption MeterPlatform MeasureName "MeasurePlatform8"][!SetOption MeterDescription MeasureName "MeasureDescription8"][!SetOption MeterImage MeasureName "MeasureDownloadImage8"][!UpdateMeter "#CURRENTSECTION#"][!UpdateMeter "MeterImage"][!Redraw]

[MeterImage9]
Meter=Image
MeterStyle=ImageStyle
MeasureName=MeasureDownloadImage9
X=5R
Y=0r
MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor "0,0,0,150"][!SetOption MeterTitle MeasureName "MeasureTitle9"][!SetOption MeterPlatform MeasureName "MeasurePlatform9"][!SetOption MeterDescription MeasureName "MeasureDescription9"][!SetOption MeterImage MeasureName "MeasureDownloadImage9"][!UpdateMeter "#CURRENTSECTION#"][!UpdateMeter "MeterImage"][!Redraw]

[MeterImage10]
Meter=Image
MeterStyle=ImageStyle
MeasureName=MeasureDownloadImage10
X=5R
Y=0r
MouseOverAction=[!SetOption #CURRENTSECTION# SolidColor "0,0,0,150"][!SetOption MeterTitle MeasureName "MeasureTitle10"][!SetOption MeterPlatform MeasureName "MeasurePlatform10"][!SetOption MeterDescription MeasureName "MeasureDescription10"][!SetOption MeterImage MeasureName "MeasureDownloadImage10"][!UpdateMeter "#CURRENTSECTION#"][!UpdateMeter "MeterImage"][!Redraw]
This time 10 games are got, but only five displayed. However now you can scroll them, to bring up the not visible five too. Further ones still can be added.
The scrolling is a bit brute. It can (must, will) be polished in future.
What do you think, how does it look?
Dhp84
Posts: 17
Joined: June 7th, 2017, 4:29 am

Re: Help with webparser

Dhp84 » February 2nd, 2019, 1:49 pm

Looking great so far
User avatar
balala
Rainmeter Sage
Posts: 8216
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Help with webparser

balala » February 2nd, 2019, 1:54 pm

Dhp84 wrote:
February 2nd, 2019, 1:49 pm
Looking great so far
I'm glad if you find it so! How many games would you like to add?
Dhp84
Posts: 17
Joined: June 7th, 2017, 4:29 am

Re: Help with webparser

Dhp84 » February 2nd, 2019, 2:00 pm

If possible at least 24? or if too much then 20 minimum ?
User avatar
balala
Rainmeter Sage
Posts: 8216
Joined: October 11th, 2010, 6:27 pm
Location: Gheorgheni, Romania

Re: Help with webparser

balala » February 2nd, 2019, 2:09 pm

Dhp84 wrote:
February 2nd, 2019, 2:00 pm
If possible at least 24? or if too much then 20 minimum ?
Probably 24 is possible. Let's see. Later I'll be back with a new sample code.
Dhp84
Posts: 17
Joined: June 7th, 2017, 4:29 am

Re: Help with webparser

Dhp84 » February 2nd, 2019, 2:11 pm

Bro the effort and work you've put in is amazing, thanks a lot