GithubHelp home page GithubHelp logo

philippeleloir / kijiji-scraper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from crutkowski/kijiji-scraper

0.0 2.0 0.0 21 KB

Python script to scrape Kijiji and find new ads.

License: MIT License

Python 100.00%

kijiji-scraper's Introduction

Kijiji-Scraper 2.0

Python script that scrapes Kijiji ad information and sends out an email when a new ad is found. It's designed to be run in the background (Pythonw).

Dependencies: requests and BeautifulSoup

To configure the script: -Set the 'url_to_scrape' variable to the url of the Kijiji ad page you want to scrape. e.g. 'http://www.kijiji.ca/b-cars-trucks/calgary/convertible__coupe__hatchback__other+body+type__sedan__wagon-mazda-mx5miata/c174l1700199a138a54a1000054'

  • Set the checklist with word required for ad to be selected / included

  • Set the excludelist with word for ads to be excluded.

  • Set the 'scrape_delay' variable to them time in seconds before re-scraping. (default = 600)

  • Replace SENDER_EMAIL, SENDER_EMAIL_PASSWORD, RECEIVER_EMAIL fields in the 'MailAd' function with your email info.

  • If you're using gmail, you'll have to go to 'My Account>Sign in & security>Connected apps & sites' then turn "Allow less secure apps" to "On".

kijiji-scraper's People

Contributors

crutkowski avatar ardrake avatar craigho avatar

Watchers

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.