![Baidu Scraper avatar](https://images.apifyusercontent.com/Pbh6WmHt4CgMJehPHRon2QEf1i0jGDOCBbGPkVSjChA/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vVWl2WlhFUWRwMUdtZGlJU0MvQ2dQMU01UkZBeGFtcFpqMFYtYmFpZHUtbG9nby5wbmc.webp)
Baidu Scraper
DeprecatedView all Actors![Baidu Scraper](https://images.apifyusercontent.com/Pbh6WmHt4CgMJehPHRon2QEf1i0jGDOCBbGPkVSjChA/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vVWl2WlhFUWRwMUdtZGlJU0MvQ2dQMU01UkZBeGFtcFpqMFYtYmFpZHUtbG9nby5wbmc.webp)
This Actor is deprecated
This Actor is unavailable because the developer has decided to deprecate it. Would you like to try a similar Actor instead?
See alternative Actors![Baidu Scraper](https://images.apifyusercontent.com/Pbh6WmHt4CgMJehPHRon2QEf1i0jGDOCBbGPkVSjChA/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vVWl2WlhFUWRwMUdtZGlJU0MvQ2dQMU01UkZBeGFtcFpqMFYtYmFpZHUtbG9nby5wbmc.webp)
Baidu Scraper
omkar-cloud/baidu-scraper
Baidu Scraper helps you scrape search results from Baidu.
The code examples below show how to run the Actor and get its results. To run the code, you need to have an Apify account. Replace <YOUR_API_TOKEN> in the code with your API token, which you can find under Settings > Integrations in Apify Console. Learn more
1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7 "queries": [
8 "Mango"
9 ],
10 "max": 10
11}
12EOF
13
14# Run the Actor using an HTTP API
15# See the full API reference at https://docs.apify.com/api/v2
16curl "https://api.apify.com/v2/acts/omkar-cloud~baidu-scraper/runs?token=$API_TOKEN" \
17 -X POST \
18 -d @input.json \
19 -H 'Content-Type: application/json'
Developer
Maintained by Community