![Rust Scraper avatar](https://images.apifyusercontent.com/EeW8pCEeUiM_zxpXxXcaPIN8YFcsnbc9y15FWhlWCZs/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9HRlRhQ3Y5Y3JEUEp4RXhiRC9OS2FNQ3pTZWE1bjM5cm9qRS1ydXN0LmpwZw.webp)
Rust Scraper
Try for free
No credit card required
View all Actors![Rust Scraper](https://images.apifyusercontent.com/EeW8pCEeUiM_zxpXxXcaPIN8YFcsnbc9y15FWhlWCZs/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9HRlRhQ3Y5Y3JEUEp4RXhiRC9OS2FNQ3pTZWE1bjM5cm9qRS1ydXN0LmpwZw.webp)
![Rust Scraper](https://images.apifyusercontent.com/EeW8pCEeUiM_zxpXxXcaPIN8YFcsnbc9y15FWhlWCZs/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMuYW1hem9uYXdzLmNvbS9HRlRhQ3Y5Y3JEUEp4RXhiRC9OS2FNQ3pTZWE1bjM5cm9qRS1ydXN0LmpwZw.webp)
Rust Scraper
lukaskrivka/rust-scraper
Try for free
No credit card required
Speed of light scraping with Rust programming language! This is an early alpha version for experimenting, use at your own risk!
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 "urls": [
8 {
9 "url": "http://example.com"
10 }
11 ],
12 "extract": [
13 {
14 "field_name": "title",
15 "selector": "h1",
16 "extract_type": {
17 "type": "Text"
18 }
19 },
20 {
21 "field_name": "description",
22 "selector": "p",
23 "extract_type": {
24 "type": "Text"
25 }
26 }
27 ],
28 "proxy_settings": {
29 "useApifyProxy": true
30 }
31}
32EOF
33
34# Run the Actor using an HTTP API
35# See the full API reference at https://docs.apify.com/api/v2
36curl "https://api.apify.com/v2/acts/lukaskrivka~rust-scraper/runs?token=$API_TOKEN" \
37 -X POST \
38 -d @input.json \
39 -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
- 4 monthly users
- 3 stars
- 96.7% runs succeeded
- Created in Feb 2019
- Modified over 3 years ago
Categories