Thanks for informing me that it is not legal to scrape http://www.indianrail.gov.in. I am rewriting the code to scrape only http://indiarailinfo.com, which does not explicitly forbid scraping. Is it legal to scrape such a site (without overloading it)? Is it legal to share that code?