This python program will automatically logins into Codechef by providing the necessary username and password in the .py file Run the spider using "scrapy runspider login.py" in cmd by changing the directory to where this file is present Install scrapy using command "pip install scrapy" in command line.