Skip to content

Instantly share code, notes, and snippets.

View SarraISMAIL's full-sized avatar
🏠
Working from home

SarraISMAIL

🏠
Working from home
View GitHub Profile
@lobstrio
lobstrio / leboncoin_chalet.py
Created March 2, 2018 12:50
Python 3 code to scrape leboncoin "chalet" items in Savoie through Scrapy library
import scrapy
import time
class LbcSpider(scrapy.Spider):
name = "chalet_savoie_lbc"
start_urls = [
'https://www.leboncoin.fr/locations_gites/offres/rhone_alpes/savoie/',
]
def parse(self, response):