Giter Site home page Giter Site logo

craiglister's Introduction

CraigLister

This program will repeatedly post your craigslist ads every 72 hours and auto approve them.

It is useful when you want something to sell put you don't want to repeatedly post them.

It is built using selenium, it automates the browser actions and uses a gmail library to approve listings.

Dependencies

This program uses the gmail library found here:

https://github.com/charlierguo/gmail/tree/master/gmail

Also you need chromedriver as found here:

http://chromedriver.storage.googleapis.com/index.html

Pillow

Python imaging library. To install use "pip install Pillow". If you have an error you may need to "pip uninstall PIL" and reinstall Pillow as well.

Usage

Steps Action
1 Download the chromedriver and put into this directory
2 Install and import the gmail library or download files from gmail link and put in this directory
3 Change the gmail username/pass in the craiglister.py file
4 In the listings folder create a new folder that describes the item to post and include pictures and an info.txt file (There is already a "Laptop" folder as an example)
5 Delete the Laptop Example in the listings folder and delete the 04-16-15 folder in the listed folder
6 Run craigslister.py and it will post every listing in the listings folder

This script works by parsing the info.txt file, filling out the craigslist post with that information, uploading the pictures and then submitting the post. Craigslist will then email you an approval link, the gmail library will parse that link and selenium will direct you to that link and click accept. Then the folder you created for that post will get moved to a posted folder within a date folder. Then when it has been 72 hours or greater the posts within that date folder will be moved back to the posts pool and will get posted again.

craiglister's People

Contributors

clickthisnick avatar

Watchers

 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.