passivebot / facebook-marketplace-scraper

This repository contains a script to scrape Facebook Marketplace data using Playwright, BeautifulSoup and Streamlit.
https://www.youtube.com/watch?v=vjsQLIyUY-I
222 stars 63 forks source link

login to view the content #5

Open BadrKhamis opened 11 months ago

BadrKhamis commented 11 months ago

when code is running it open chrom window asking me to login in to show the content and did not print out any thing so how to pypass that from the code

harmindersinghnijjar commented 10 months ago

Hello,

Currently, the most effective workaround to access Facebook Marketplace without directly logging in is to initiate a search through a search engine like DuckDuckGo. You can automate your browser to search for Facebook Marketplace in your desired metropolis. Once the search results are displayed, click on the first link. You'll then be able to proceed to the Marketplace URL you are trying to scrape. This method allows you to view the content without immediately needing to log in.

If you have any further questions, please respond and let me know. I'm working on a new iteration of the bot that should be up-to-date and functional right out of the box.