Urbandictionary Scraper

Pay $1.00 for 1,000 results

Urbandictionary Scraper

Urbandictionary Scraper

apidojo/urbandictionary-scraper

Pay $1.00 for 1,000 results

Introducing the Urban Dictionary Scraper, your ultimate tool for diving into the world of contemporary slang, memes, and expressions! With this user-friendly and versatile scraper, you can effortlessly search for any keyword and retrieve a treasure trove of definitions.

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://www.urbandictionary.com/define.php?term=dude",
    "https://www.urbandictionary.com/define.php?term=nah"
  ],
  "keywords": [
    "afk",
    "lol"
  ],
  "maxItems": 1000,
  "customMapFunction": "(object) => { return {...object} }"
}
EOF

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

You might also like these Actors