fix python2 bug in urllib2
Fix the bug [ValueError: day is out of range for month] in line 27 and 50