#Only getting blank data while tiktok ad scraping.
1 messages · Page 1 of 1 (latest)
Hey đź‘‹ Tiktok is one of challenging platforms to scrape. This doesn't mean it cannot be done, but with the available actors online, there's a high chance you'd find one that does the required job plus they're typically not expensive to use vs the effort you're/will be putting (maintenance etc)
That said, since you're using a browser, I believe you're already on the wrong path for resilient, effective scraping. Your best bet is to identify API endpoints & try to reverse-engineer/replicate them...
Can this be made inside of Apify? What should I watch out for? I read that I could get blocked or something. Is there some source where I could learn from? 🙏 thanks
Apify is a hosting platform that offers templates to help you quickly get up and running with most websites. However, for websites with strong anti-bot protection—like TikTok—these templates aren’t enough. You’ll need to invest more time, learning, experimentation, or money (if you’d like to hire someone) to bypass their security measures.
Is there a source I could learn from?
I don’t believe you’ll find any free, publicly available source code for scraping TikTok. Ultimately, how you implement your scraper depends on the target website, so there’s no universal code sample that works for all of them.
I'd say start with https://docs.apify.com/academy
(Just wondering, why do you want to build your own when there are plenty of TikTok scrapers out there that aren't expensive?)
just a fan of the learning process and i like to do things on my own. Also the scraper actually worked but then stopped working, what do u think is the issue? Did I get blocked or i just f*ed up some line in my code? Is there anyting noticible in the code that screams big no no? I dont really care about speed rn. Just wanna scrape the ads. thanks for responding :)
Looks like you didn't use residential proxies.., try that.
sorry to bother :d what does that mean? :)
Everything is in the documentation https://docs.apify.com/platform/proxy/residential-proxy
This basically helps giving your script a public rotating IP that's from real users (less likely to get blocked)
You look like a viber-scraper :p
I definitely AM one, but coding aint remotely close to what I do and will do. ;) Just learning new thing while having fun. Thanks for help anyways :p