Quote:
Originally Posted by nickredding
The WSJ free receipe is trying to filter out articles older than oldest_article days, so it has to actually decode the date string so a comparison can be made.
|
Code:
date = date.split()
month = {'January', February', ...}[date[0]]
day = int(date[1])
year = int(date[2])