Giter VIP home page Giter VIP logo

facebook-marketplace-vehicle-scraper's Issues

updating code!

hi so you have a couple of different issues such as

    url = f"https://www.facebook.com/marketplace/{location}/search?maxPrice={maxPrice}&query={query}&exact={exact}"

line 18 in main.py when you run selenium it automatically goes to a log-in page so you have 2 options: 1. change your cookies or modify them, or, 2. log in and then run the program.

I went with option 2 because it's a lot easier and simpler in explanatory terms.

                if mileage < 16000 and int(year) > 2006:

line 81 in main.py you can't have a mileage as a string when you come across issues such as: having a blank string, having a string name that says "Dealership"

line 16 in util.py

    res = browser.execute_cdp_cmd('Page.captureSnapshot', {})

execute_cdp_cmd is deprecated so I made a new function that completely replaces this, and it works with other JS code! ๐Ÿ˜„
I might make a PR later tonight.

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.