Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
chadskelton committed Jul 4, 2019
1 parent 5bfe9ff commit bc561a1
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions scraper.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,7 @@ def scrape_hydro(url): # in case page changes

if 'Vancouver' in section.text:
print "Outages in Vancouver"
emailit("Subject: Power outage in Vancouver" + "\nTo: cskeltondata@gmail.com\n\nPower outage in Vancouver"
else:
print "No outages in Maple Ridge"
emailit("Subject: Power outage in Vancouver" + "\nTo: cskeltondata@gmail.com\n\nPower outage in Vancouver"

'''
decisions = table.findAll ("a")
Expand Down

0 comments on commit bc561a1

Please sign in to comment.