Lobsters Scraper

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

Lobsters Scraper

Lobsters Scraper

epctex/lobsters-scraper

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 mode

# Set API token
API_TOKEN=<YOUR_API_TOKEN>

# Prepare Actor input
cat > input.json <<'EOF'
{
  "startUrls": [
    "https://lobste.rs/domains/google.com",
    "https://lobste.rs/t/devops",
    "https://lobste.rs/u/lambda",
    "https://lobste.rs/active",
    "https://lobste.rs/recent",
    "https://lobste.rs/search?q=google&what=stories&order=newest"
  ],
  "maxItems": 20,
  "endPage": 1,
  "extendOutputFunction": "($) => { return {} }",
  "customMapFunction": "(object) => { return {...object} }",
  "proxy": {
    "useApifyProxy": true
  }
}
EOF

# Run the Actor
curl "https://api.apify.com/v2/acts/epctex~lobsters-scraper/runs?token=$API_TOKEN" \
  -X POST \
  -d @input.json \
  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor stats
  • 1 users
  • 693 runs
  • Modified about 21 hours ago

You might also like these Actors