Skip to content Skip to sidebar Skip to footer

Login To Website Using Scrapy

I am writing a spider. In which I am trying to scraping a website using scraping by logging into that website. I have write a spider but still getting problem in logging into the w

Solution 1:

The problem is simple: you've created the login() method, but you never call it.

The simplest way to solve this is to rename that method to start_requests(). This method will then be called by scrapy to generate the initial requests, instead of generating them from start_urls.

Post a Comment for "Login To Website Using Scrapy"