Research
Security News
Malicious npm Packages Inject SSH Backdoors via Typosquatted Libraries
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Easily collect public AliExpress data like prices, product details, and ratings with AliExpress Scraper API
AliExpress Scraper is a tool designed to collect public product data from AliExpress on a large scale. This short tutorial will show you how to scrape AliExpress with Oxylabs’ Scraper API.
You can extract AliExpress data by sending a request to our API with URLs you want to scrape. Our service will send back the HTML of any AliExpress page.
This sample showcases how to make an API request and retrieve the HTML of AliExpress search results for the keyword “laptop”:
import requests
from pprint import pprint
# Structure payload.
payload = {
'source': 'universal_ecommerce',
'url': 'https://www.aliexpress.com/w/wholesale-laptop.html?catId=0&initiative_id=SB_20230907055110&SearchText=laptop&spm=a2g0o.best.1000002.0',
'user_agent_type': 'desktop',
'render': 'html',
'geo_location': 'Germany'
}
# Get response.
response = requests.request(
'POST',
'https://realtime.oxylabs.io/v1/queries',
auth=('USERNAME', 'PASSWORD'), #Your credentials go here
json=payload,
)
# Instead of response with job status and results url, this will return the
# JSON response with results.
pprint(response.json())
See the documentation for more code samples.
{
"results": [
{
"content": "<!doctype html>
<html lang="en">
<head>
...
</script></body>
</html>
",
"created_at": "2023-09-07 14:04:18",
"updated_at": "2023-09-07 14:04:42",
"page": 1,
"url": "https://www.aliexpress.com/w/wholesale-laptop.html?catId=0&initiative_id=SB_20230907055110&SearchText=laptop&spm=a2g0o.best.1000002.0",
"job_id": "7105551359235115009",
"status_code": 200
}
]
}
The data harvesting process is significantly easier with Oxylabs’ AliExpress Scraper API. You can collect details such as pricing, reviews, product information, and other public data. If you have any questions, you can contact us via live chat or email.
FAQs
Easily collect public AliExpress data like prices, product details, and ratings with AliExpress Scraper API
We found that ali-express-scraper demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.
Security News
MITRE's 2024 CWE Top 25 highlights critical software vulnerabilities like XSS, SQL Injection, and CSRF, reflecting shifts due to a refined ranking methodology.
Security News
In this segment of the Risky Business podcast, Feross Aboukhadijeh and Patrick Gray discuss the challenges of tracking malware discovered in open source softare.