Challenge 4: Bypass the Login Form
Pages are restricted to a logged user. Add a login request to the scraper.
Email is and password is johnjohn.
git checkout login
  1. Open the file myscraper/spiders/
  2. Use a FormRequest instead of a Request in the start_requests method
  3. Use the credentials in the FormRequest
  4. Add the good URL in FormRequest
  5. Start the scraper (see Start instructions) and check the log item_scraped_count.
git checkout .
git checkout login-soluce