Giter Site home page Giter Site logo

craigs's Introduction

craigslist scraper

this is a python scraper for craigslist specifically.

usage

specify search critera in .yaml files. these are typically found by clicking around on craigslist, and seeing how the link changes for each addition

i.e. limiting mileage to 100k miles will result in the URL adding an &max_auto_miles=100000. To specify this, go to your yaml file and write

mode_name:
    search_filters:
        max_auto_miles: 100000
    refresh_rate: 5

In general you can look at the existing yamls, cars.yaml, to see how things work.

The program is set up to run on my computer with chrome/windows webdriver. To do this:

conda activate base
python scrape.py cars.yaml --mode low_mileage_low_price_automatic

This will run the program. The email server is set up via an app password, which is saved to a text file at drivers/app.pass. Username/target email are configured in the yaml files, or with default arguments in the scrape.py DEFAULT_YAML_ARGUMENTS variable.

craigs's People

Contributors

luclepot avatar

Stargazers

Jack avatar

Watchers

 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.