Lobsters Scraper avatar
Lobsters Scraper
Try for free

3 days trial then $10.00/month - No credit card required now

View all Actors
Lobsters Scraper

Lobsters Scraper

epctex/lobsters-scraper
Try for free

3 days trial then $10.00/month - No credit card required now

Scrape Lobste.rs posts and users based on any search criteria. Retrieve all the comments, domains, tags, titles, number of upvotes, and published dates. Use this extremely fast actor to retrieve all the information right away. Easy use and no limits!

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  "startUrls": [
8    "https://lobste.rs/domains/google.com",
9    "https://lobste.rs/t/devops",
10    "https://lobste.rs/u/lambda",
11    "https://lobste.rs/active",
12    "https://lobste.rs/recent",
13    "https://lobste.rs/search?q=google&what=stories&order=newest"
14  ],
15  "maxItems": 20,
16  "endPage": 1,
17  "extendOutputFunction": "($) => { return {} }",
18  "customMapFunction": "(object) => { return {...object} }",
19  "proxy": {
20    "useApifyProxy": true
21  }
22}
23EOF
24
25# Run the Actor using an HTTP API
26# See the full API reference at https://docs.apify.com/api/v2
27curl "https://api.apify.com/v2/acts/epctex~lobsters-scraper/runs?token=$API_TOKEN" \
28  -X POST \
29  -d @input.json \
30  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 1 monthly user
  • 1 star
  • 100.0% runs succeeded
  • Created in Apr 2023
  • Modified about 24 hours ago