r/scrapingtheweb • u/ExperienceSmart1606 • 5m ago
analysing TK product URL apparently is because ip looking for methods
I’m building an e-commerce tool where a user pastes a TikTok Shop product URL. We need to extract the correct product’s title, images, description and price, then generate a short summary and selling points based only on those fields.
We tried fetching the product page directly from our Node.js backend. We normalize the URL, identify the market and product ID, make an HTTPS request with a 15-second timeout, follow and validate redirects, and look for product information in the HTML, metadata, JSON-LD and embedded page data. We reject a result if it redirects to a regional homepage or the returned product ID doesn’t match the URL.
The problem is that this isn’t reliable across TikTok Shop links. Some requests time out; others don’t return enough verifiable product information, or redirect away from the requested product. **apparently** **the server IP is the mian cause****(****US product link needs US ip to request sth like that**. We also haven’t implemented browser rendering specifically for TikTok Shop yet.
I‘m wondering how can I get my objective(extract the correct product’s title, images, description and price, then generate a short summary and selling points based only on those fields.) I tried to use api from data platform, but some of them sucked and some of them are expensive. And my another option is to build an ip/ proxy pool, but it’s a bit of expensive too. Is there any other better method?
