Ich arbeite an einem Projekt in Laravel/Python, in dem ich Produktinformationen von Shein holen möchte, aber ich bin auf ein großes Problem mit ShareJump -Links gestoßen.http://api-shein.shein.com/h5/sharejump ... country=AE
< /code>
Was ich ausprobiert habe: < /p>
Ich akzeptiere eine ShareJump -URL vom Benutzer.Title
Image
Price
Original price
Discount
Currency
Stock availability
< /code>
Ich habe mehrere Ansätze ausprobiert: < /p>
Senden direkter HTTP -Anforderungen mit Anforderungen in Python oder GuzzleHttp in Laravel. Daten. < /p>
< /li>
Mit Scraping Services wie Scraping-Bot mit Proxies. /> Der ShareJump -Link ist eine Umleitung < /p>
Wenn ich die URL direkt anfordere, erhalte ich nicht die tatsächliche Produktseite.{
"data": {
"title": "Eyeliner Wing Stamp Template...",
"description": "Eyeliner stamp template, eyeshadow tool...",
"image": "https://img.ltwebstatic.com/images3_spm ... b3f8d5.jpg",
"price": null,
"originalPrice": null,
"currency": null,
"isInStock": null
}
}
< /code>
Wie Sie sehen können, sind Preis, Originalprice, Währung und Aktieninformationen alle null. lebensfähig < /p>
Ich möchte, dass dies automatisch auf einem Server (Linux /CPanel) ohne Browser ausgeführt wird. Daher sind kopflose Lösungen wie Dramatiker nicht ideal. Laravel/PHP oder Python, ohne die Benutzerinteraktion oder das Lösen von Captchas manuell zu lösen.>
Der Produktpreis von Shein ShareJump Links in Laravel/Python kann nicht kratzen ⇐ Python
-
- Similar Topics
- Replies
- Views
- Last post