Skip to content

Commit

Permalink
Secure references to ganeshaspeaks.com
Browse files Browse the repository at this point in the history
  • Loading branch information
fuglede authored Jul 10, 2017
1 parent 1fc3978 commit 8201cc0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pyhoroscope.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class Horoscope:

@staticmethod
def get_todays_horoscope(sunsign):
url = "http://www.ganeshaspeaks.com/horoscopes/daily-horoscope/" + sunsign
url = "https://www.ganeshaspeaks.com/horoscopes/daily-horoscope/" + sunsign
response = urllib.request.urlopen(url)
htmlparser = etree.HTMLParser()
tree = etree.parse(response, htmlparser)
Expand All @@ -30,7 +30,7 @@ def get_todays_horoscope(sunsign):

@staticmethod
def get_weekly_horoscope(sunsign):
url = "http://www.ganeshaspeaks.com/horoscopes/weekly-horoscope/" + sunsign
url = "https://www.ganeshaspeaks.com/horoscopes/weekly-horoscope/" + sunsign
response = urllib.request.urlopen(url)
htmlparser = etree.HTMLParser()
tree = etree.parse(response, htmlparser)
Expand All @@ -50,7 +50,7 @@ def get_weekly_horoscope(sunsign):

@staticmethod
def get_monthly_horoscope(sunsign):
url = "http://www.ganeshaspeaks.com/horoscopes/monthly-horoscope/" + sunsign
url = "https://www.ganeshaspeaks.com/horoscopes/monthly-horoscope/" + sunsign
response = urllib.request.urlopen(url)
htmlparser = etree.HTMLParser()
tree = etree.parse(response, htmlparser)
Expand All @@ -70,7 +70,7 @@ def get_monthly_horoscope(sunsign):

@staticmethod
def get_yearly_horoscope(sunsign):
url = "http://www.ganeshaspeaks.com/horoscopes/yearly-horoscope/" + sunsign
url = "https://www.ganeshaspeaks.com/horoscopes/yearly-horoscope/" + sunsign
response = urllib.request.urlopen(url)
htmlparser = etree.HTMLParser()
tree = etree.parse(response, htmlparser)
Expand Down

0 comments on commit 8201cc0

Please sign in to comment.