Git Product home page Git Product logo

comebebesp's Introduction

ComeBebeSP

This project targets São Paulo restaurants for a food-gathering effort by a partner NGO. It can, of course, be useful for any other project. Requests for more sites will be considered, please open an Issue.

Installing and running Scrapy

This project uses the pre-release Scrapy 1.0 Release Candidate. Installing it on a Python development environment (with lxml, libxslt and libssl as per scrapy docs) should be easy from a checkout of this project:

pip install -r requirements.txt

It also needs scrapylib and purl, declared in requirements.txt.

Running the crawlers

From a checkout of the project, run:

scrapy crawl vejasp -t csv -o vejasp.csv

If you're fixing or improving the project and need to run the crawls several times, you will benefit from using the built-in http cache:

scrapy crawl --set=HTTPCACHE_ENABLED=1 vejasp -t csv -o vejasp.csv

Of course, you can substitute vejasp for any of the other spiders. Right now we got these:

Keep in mind Scrapy supports not only CSV but also JSON, XML and others (see exporters docs).

comebebesp's People

Contributors

barraponto avatar

Stargazers

Caio Mota avatar

Watchers

 avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.