GithubHelp home page GithubHelp logo

craigslist_automation's Introduction

Craigslist Automation

The goal of this project is to automate the process of posting advertisements on craigslist.

Steps:

  1. Use requests module to grab the landing page html
  2. Use bs4 to find all the links of the available local posting locations
  3. Clean up the link data using string replace (and regex if necessary)
  4. Make a separate list for the links and for the locations.
  5. Loop thru the locations list to find a zip code for each location on the list. (Use either requests or selenium web driver, NOT ahk/pmc or other basic automation software which are too finiky wrt page loading times) [I used selenium for practice, though requests may be better option, since you don't really need an actual web browser]
  6. Create a dataframe in pandas with each of the lists (location, link, zip) and set the index column as the location.
  7. Store the dataframe as a pickle file.
  8. Reload the pickle file some time later along with all the appropriate posting data (login info, ad content, etc.)
  9. Use selenium to navigate to a location's link then automate a series of clicks to post an ad to that particular location.
  10. Loop through multiple locations and email/password combinations to batch post.
  11. Renew ads automatically with selenium.

craigslist_automation's People

Contributors

minasso 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.