Skip to content

Instantly share code, notes, and snippets.

View luanfonceca's full-sized avatar

Luan Fonseca luanfonceca

View GitHub Profile
# -*- coding: utf-8 -*-
import scrapy
class CarsSpider(scrapy.Spider):
name = 'cars'
start_urls = ['http://pe.olx.com.br/veiculos/carros']
def parse(self, response):
items = response.xpath(
from datetime import date
from freezegun import freeze_time
from dateutil.relativedelta import relativedelta
class Replicant():
def __init__(self, name, incept_date):
self.name = name
self.incept_date = incept_date
print('Meu script rodou!')
@luanfonceca
luanfonceca / requirements.txt
Created October 17, 2018 19:25
Show Permissions management command.
mock==2.0.0
django-extensions==1.9.7
@luanfonceca
luanfonceca / README.md
Created August 1, 2020 00:15
Vereadoras e Vereadores 2020 - Natal RN

Como instalar:

$ pip install -r requirements.txt

Como rodar:

$ python scrapper.py