believe it or not, but i've never openet the site on my phone to see the visual difference, let alone the code. But hope there are all the data as on the desktop site.
when i don't use the Forecast it's 823 KB, and with it and details that show up on mouse hover, the size is 1,9.
As so i had to use 2 SuperParent. One for https://weather.com/#Lang#/weather/today/l/
and another for Link2=https://weather.com/#Lang#/weather/tenday/l/.
Probably it could be more optimized, but for now i don't see a way.
Code: Select all
;Super Parents
[@EntireSiteSuperParent]
Measure=WebParser
URL=#URL#
UpdateRate=#UpRate#
Flags=Resync | NoCookies
UserAgent=Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Mobile Safari/537.36
DecodeCharacterReference=1
LogSubstringErrors=0
RegExp=(?siU)^(.*)$
StringIndex=1
FinishAction=[!EnableMeasureGroup Parents]
[@EntireSiteSuperParentForecast]
Measure=WebParser
URL=#URL2#
UpdateRate=#UpRate#
Flags=Resync | NoCookies
UserAgent=Mozilla/5.0 (Linux; Android 10; Pixel 4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.61 Mobile Safari/537.36
DecodeCharacterReference=1
LogSubstringErrors=0
RegExp=(?siU)^(.*)$
StringIndex=1
FinishAction=[!EnableMeasureGroup ParentsForecast]
Disabled=(#showForecast12_1#=0)
;Parents
[MeasureNow]
Measure=WebParser
Url=[@EntireSiteSuperParent]
RegExp=(?siU)"getSunV3CurrentObservationsUrlConfig":.*{"cloudCeiling":.*,"cloudCoverPhrase":".*","dayOfWeek":".*","dayOrNight":".*","expirationTimeUtc":.*,"iconCode":(.*),"iconCodeExtend":.*,"obsQualifierCode":.*,"obsQualifierSeverity":.*,"precip1Hour":.*,"precip6Hour":.*,"precip24Hour":.*,"pressureAltimeter":(.*),"pressureChange":.*,"pressureMeanSeaLevel":.*"pressureTendencyCode":(.*),"pressureTendencyTrend":".*","relativeHumidity":(.*),"snow1Hour":.*,"snow6Hour":.*,"snow24Hour":.*,"sunriseTimeLocal":".*","sunriseTimeUtc":.*"sunsetTimeLocal":".*","sunsetTimeUtc":.*"temperature":(.*),"temperatureChange24Hour":.*,"temperatureDewPoint":(.*),"temperatureFeelsLike":(.*),"temperatureHeatIndex":.*"temperatureMax24Hour":.*"temperatureMaxSince7Am":.*"temperatureMin24Hour":.*"temperatureWindChill":.*"uvDescription":".*","uvIndex":(.*),"validTimeLocal":"(.*)","validTimeUtc":.*"visibility":(.*),"windDirection":(.*)"windDirectionCardinal":"(.*)","windGust":.*,"windSpeed":(.*),"wxPhraseLong":"(.*)","wxPhraseMedium":.*,"wxPhraseShort":.*}
LogSubstringErrors=0
FinishAction=[!EnableMeasureGroup "Weather"][!UpdateMeasureGroup Weather][!UpdateMeterGroup Weather][!UpdateMeterGroup Background][!Redraw]
Disabled=1
Group=Parents
[MeasureLocation]
Measure=WebParser
Url=[@EntireSiteSuperParent]
RegExp=(?siU)(?(?=.*{"locale1":.*,"locale2":".*","locale3":.*,"locale4":.*}).*"neighborhood":.*,"adminDistrict":(.*),"adminDistrictCode":(.*),"postalCode":(.*),"postalKey":.*,"country":(.*),"countryCode":(.*),"ianaTimeZone":.*,"displayName":(.*),.*)
LogSubstringErrors=0
FinishAction=[!EnableMeasureGroup Location][!UpdateMeasureGroup Location][!UpdateMeterGroup Location][!UpdateMeterGroup Background][!Redraw]
Disabled=1
Group=Parents
[MeasureForecast]
Measure=WebParser
Url=[@EntireSiteSuperParentForecast]
RegExp=(?siU)"getSunV3DailyForecastUrlConfig":.*{"dayOfWeek":.*"(.*)","(.*)","(.*)","(.*)","(.*)","(.*)","(.*)","(.*)",.*"temperatureMax":(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),.*"temperatureMin":(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),.*"validTimeLocal":.*"(.*)","(.*)","(.*)","(.*)","(.*)","(.*)","(.*)","(.*)".*"iconCode":(.*),(.*),(.*),.*,(.*),.*,(.*),.*,(.*),.*,(.*),.*,(.*),.*,(.*),.*
LogSubstringErrors=0
FinishAction=[!EnableMeasureGroup Forecast][!UpdateMeasureGroup Forecast][!UpdateMeterGroup Forecast][!UpdateMeterGroup Background][!Redraw]
Disabled=1
Group=ParentsForecast
[MeasureDetailed]
Measure=WebParser
Url=[@EntireSiteSuperParentForecast]
RegExp=(?siU)"getSunV3DailyForecastUrlConfig":.*{.*"precipChance":(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),.*"windDirectionCardinal":(.*),"(.*)","(.*)","(.*)","(.*)","(.*)","(.*)","(.*)"(.*)","(.*)","(.*)","(.*)","(.*)","(.*)","(.*)","(.*)",.*"windSpeed":(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),(.*),.*"wxPhraseLong":(.*),"(.*)","(.*)","(.*)","(.*)","(.*)","(.*)","(.*)","(.*)","(.*)","(.*)","(.*)","(.*)","(.*)","(.*)","(.*)"
LogSubstringErrors=0
FinishAction=[!EnableMeasureGroup Detailed][!UpdateMeasureGroup Detailed][!UpdateMeterGroup Detailed][!UpdateMeterGroup Background][!Redraw]
Disabled=1
Group=ParentsForecast
;Child measures
...