Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
import scrapy
class FlightsSpider(scrapy.Spider):
name = "flights"
start_urls = [ '' ]
def parse(self, response):
title = response.css('title::text').extract_first()
print '##### THE TITLE IS: ' + title
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment