Skip to content

Instantly share code, notes, and snippets.

@gileno
Created June 22, 2015 21:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gileno/83720a8c73a52685e399 to your computer and use it in GitHub Desktop.
Save gileno/83720a8c73a52685e399 to your computer and use it in GitHub Desktop.
Scrapy blog post II
# -*- coding: utf-8 -*-
import scrapy
class GilenoFilhoSpider(scrapy.Spider):
name = "gilenofilho"
allowed_domains = ["gilenofilho.com.br"]
def starts_requests(self):
yield scrapy.Request(url='http://gilenofilho.com.br', callback=self.parse)
def parse(self, response):
self.log('Hello World: {0}'.format(response.url))
@arthuralvim
Copy link

Gileno, seu lindo!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment