It is currently September 29th, 2022, 4:45 pm

Mond with Yahoo weather not working SEP 2022

Get help with creating, editing & fixing problems with skins
empfarseer
Posts: 2
Joined: September 14th, 2022, 1:05 pm

Mond with Yahoo weather not working SEP 2022

Post by empfarseer »

I have been using the Mond skin for a few years and since the change to Yahoo weather with no problem. The last few days the weather widgets have stopped working.

Both Mond and Weather Alternative skins weather widgets failed
Mond Skin -> https://www.deviantart.com/apexxx-sensei/art/Mond-762455575
Weather Alternative => https://www.deviantart.com/apexxx-sensei/art/Weather-Alternative-827733989

Has anyone else had problems with Yahoo weather lately?

What are my potential fixes? (i.e. changing code to use another weather source)

Tested Lottaweather 1.5.2 and it works fine. => https://www.deviantart.com/louisly/art/Lottaweather-1-5-2-847570474

Thanks
User avatar
xenium
Posts: 702
Joined: January 4th, 2018, 9:52 pm

Re: Mond with Yahoo weather not working SEP 2022

Post by xenium »

empfarseer wrote: September 15th, 2022, 1:39 am I have been using the Mond skin for a few years and since the change to Yahoo weather with no problem. The last few days the weather widgets have stopped working.

Both Mond and Weather Alternative skins weather widgets failed
Mond Skin -> https://www.deviantart.com/apexxx-sensei/art/Mond-762455575
Weather Alternative => https://www.deviantart.com/apexxx-sensei/art/Weather-Alternative-827733989

Has anyone else had problems with Yahoo weather lately?

What are my potential fixes? (i.e. changing code to use another weather source)

Tested Lottaweather 1.5.2 and it works fine. => https://www.deviantart.com/louisly/art/Lottaweather-1-5-2-847570474

Thanks
Right click on the skin and choose Edit skin.
Go to [MeasureWeather] and replace in RegExp, numbers 26 and 37 with .*
Then save and refresh the skin
empfarseer
Posts: 2
Joined: September 14th, 2022, 1:05 pm

Re: Mond with Yahoo weather not working SEP 2022

Post by empfarseer »

Thank you that worked. For anyone else here is the code.

Original Code

Code: Select all

[MeasureWeather]
Measure=Plugin
Plugin=WebParser
URL=https://www.yahoo.com/news/weather/united-states/juneau/juneau-2430300
RegExp=(?siU)<h1 class="city.*data-reactid="7">(.*)</h1>.*<div class="My\(2px\).*60x60\/(.*)@2x.png.*data-reactid="[color=#BF0000]26[/color]">(.*)<.*<span class="Va\(t\)" data-reactid="[color=#BF0000]37[/color]">(.*)</span> 
UpdateRate=300
Fixed Code

Code: Select all

[MeasureWeather]
Measure=Plugin
Plugin=WebParser
URL=https://www.yahoo.com/news/weather/united-states/juneau/juneau-2430300
RegExp=(?siU)<h1 class="city.*data-reactid="7">(.*)</h1>.*<div class="My\(2px\).*60x60\/(.*)@2x.png.*data-reactid=".*">(.*)<.*<span class="Va\(t\)" data-reactid=".*">(.*)</span> 
UpdateRate=300
Thanks again!
Last edited by balala on September 15th, 2022, 12:19 pm, edited 1 time in total.
Reason: Please use <code> tags whenever are posting codes. It's the </> button.
revox3441
Posts: 1
Joined: September 25th, 2022, 1:09 am

Re: Mond with Yahoo weather not working SEP 2022

Post by revox3441 »

Fixed Code

[MeasureWeather]
Measure=Plugin
Plugin=WebParser
Url=https://www.yahoo.com/news/weather
RegExp=(?siU)<h1 class="city.*data-reactid="7">(.*)</h1>.*<div class="My\(2px\).*60x60\/(.*)@2x.png.*data-reactid=".*">(.*)<.*<span class="Va\(m\) Px\(6px\)" data-reactid=".*"><\!-- react-text: 35 -->(.*)<.*<\!-- react-text: 39 -->(.*)<.*<span class="Va\(t\)" data-reactid=".*">(.*)</span>
UpdateRate=300
Last edited by SilverAzide on September 25th, 2022, 2:12 am, edited 1 time in total.
Reason: Please use code tags when posting code. It's the </> button.