News:

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

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Daniel Dickson

#1
Hello everyone,

Update to the Accuweather scraper to fix the forecast quantity of snowfall.  Previously was always coming in as zero.

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
#2
Hello everyone,

Accuweather has made changes to their website once again; I have updated the Accuweather scraper to reflect this.

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
#3
Hello everyone,

Shortly following the last update, AccuWeather made changes to their website that broke this script.  I have attached a file that contains the updated code for this scraper.

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
#4
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