Skip to content

Commit

Permalink
Update scraper.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Chahed committed Nov 4, 2015
1 parent cf78d3a commit 6eb204a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scraper.py
Expand Up @@ -116,8 +116,8 @@ def date(dat):
def dateClean(dat):
d=dat.split(' ')
months = dict()
months = {'01': 'January', '02': 'February', '03': 'March', '04': 'April', '05': 'May', '06': 'June', '07': 'July', '08': 'August', '09': 'September', '10': 'October', '11': 'November', '12': 'December' }
date = d[2] + "-" + months[d[1] + "-" + d[0]
months = {'01': 'January', '02': 'February', '03': 'March', '04': 'April', '05': 'May', '06': 'June', '07': 'July', '08': 'August', '09': 'September', '10': 'October', '11': 'November', '12': 'December' }
date = d[2] + "-" + months[d[1] + "-" + d[0]
return date


Expand Down

0 comments on commit 6eb204a

Please sign in to comment.