Skip to content
Browse files

Indian railways website bitchin'

  • Loading branch information...
1 parent 6ecc963 commit b6f3dbc7f3834b83314c11966a38266bd9b428f0 @snktagarwal committed Apr 7, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 crawl_scripts/daily_delay/crawlRunning.py
View
2 crawl_scripts/daily_delay/crawlRunning.py
@@ -66,7 +66,7 @@ def crawlDataWithDate(trainDetails, d, path):
d1 = d.isoformat().split('-')
for (k,v) in trainDetails.iteritems():
for station in v:
- crawlHTTP = "http://www.trainenquiry.com/RunningIslTrSt.aspx?tr="+str(k)+"&st="+str(station)+"+&dt="+d1[2]+"%2f"+d1[1]+"%2f"+d1[0]
+ crawlHTTP = "http://www.trainenquiry.com/o/RunningIslTrSt.aspx?tr="+str(k)+"&st="+str(station)+"+&dt="+d1[2]+"%2f"+d1[1]+"%2f"+d1[0]
logger.info('Fetching: '+crawlHTTP)
crawlOP = path+'/'+str(k)+'.'+str(station)+'.'+str(d)+'.html'
logger.info('Putting: '+crawlOP)

0 comments on commit b6f3dbc

Please sign in to comment.
Something went wrong with that request. Please try again.