Skip to content

Commit

Permalink
Merge pull request nishanthvijayan#35 from jrying/fix_topcoder_missing
Browse files Browse the repository at this point in the history
Fix Topcoder scraper nishanthvijayan#34
  • Loading branch information
Nishanth Vijayan authored Jul 13, 2016
2 parents 4d03e73 + 0bd3bc7 commit 9db4f33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/route.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def fetch_codeforces():

def fetch_topcoder():
try:
page = urlopen("https://clients6.google.com/calendar/v3/calendars/[email protected]/events?calendarId=appirio.com_bhga3musitat85mhdrng9035jg%40group.calendar.google.com&singleEvents=true&timeZone=Asia%2FCalcutta&maxAttendees=1&maxResults=250&sanitizeHtml=true&timeMin=2015-04-26T00%3A00%3A00-04%3A00&timeMax=2016-06-07T00%3A00%3A00-04%3A00&key=AIzaSyBNlYH01_9Hc5S1J9vuFmu2nUqBZJNAXxs",timeout=15)
page = urlopen("https://clients6.google.com/calendar/v3/calendars/[email protected]/events?calendarId=appirio.com_bhga3musitat85mhdrng9035jg%40group.calendar.google.com&singleEvents=true&timeZone=Asia%2FCalcutta&maxAttendees=1&maxResults=250&sanitizeHtml=true&timeMin=2016-07-10T00%3A00%3A00-04%3A00&key=AIzaSyBNlYH01_9Hc5S1J9vuFmu2nUqBZJNAXxs",timeout=15)
data = json.load(page)["items"]
cur_time = localtime()
for item in data:
Expand Down

0 comments on commit 9db4f33

Please sign in to comment.