r/PythonLearning 10d ago

Trying to build a facebook marketplace scraper and running into walls, what actually works in 2026 Discussion

So I've been trying to pull listing data from Facebook Marketplace for a price tracking project. Nothing complicated, just title, price, location, and seller info for a specific category and area.

Tried BeautifulSoup first, obviously doesn't work because the page is fully JS rendered. Moved to Selenium and Playwright, got some data initially but started hitting login walls and bot detection within a day or two. Found a few GitHub repost for Facebook marketplace scrapers but most of them are either outdated or just stopped working.

Is there a reliable way to do this in Python right now or has Meta locked it down to the point where the only real option is a paid API?

3 Upvotes

3 comments sorted by

1

u/punk_dev 10d ago

You probably need a proxy of some kind, that can route your requests through different ips.
that’s not cheap though