News:

If you want to report a bug 🐞 please contact dpost@mvc.on.ca

Main Menu

Accuweather Scraper Update Sept 12 2019

Started by Daniel Dickson, September 12, 2019, 08:53:33 AM

Previous topic - Next topic

Daniel Dickson

Hello everyone!

Recently a caching issue was resulting in an "under construction" page being accessed in place of the actual weather data.  I have attached a file with updated code that prevents the page from being cached, in order to prevent this from happening again.

Instructions

  • Download the attached 'WeatherAccu.vbs'; right click on the file and select 'Edit' to open the file in Notepad.
  • Open the VBA editor by clicking the Visual Basic button from the Developer Tab.
  • On the left side, expand the Modules folder, and double click on the WeatherAccu Macro.
  • Select all the text in the macro by holding down Ctrl+A, and then press the delete key to remove the old code.
  • Copy the text from the 'WeatherAccu.vbs' file and paste it in the WeatherAccu Macro.
  • Press 'Save' and update your DPC.

@JoelHarrison @Jrobert @GComeau