๐Ÿฏ Urbandictionary Scraper (Pay Per Result) avatar
๐Ÿฏ Urbandictionary Scraper (Pay Per Result)
Try for free

Pay $1.00 for 1,000 results

View all Actors
๐Ÿฏ Urbandictionary Scraper (Pay Per Result)

๐Ÿฏ Urbandictionary Scraper (Pay Per Result)

apidojo/urbandictionary-scraper
Try for free

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 more

1# Set API token
2API_TOKEN=<YOUR_API_TOKEN>
3
4# Prepare Actor input
5cat > input.json <<'EOF'
6{
7  "startUrls": [
8    "https://www.urbandictionary.com/define.php?term=dude",
9    "https://www.urbandictionary.com/define.php?term=nah"
10  ],
11  "keywords": [
12    "afk",
13    "lol"
14  ],
15  "maxItems": 1000,
16  "customMapFunction": "(object) => { return {...object} }"
17}
18EOF
19
20# Run the Actor using an HTTP API
21# See the full API reference at https://docs.apify.com/api/v2
22curl "https://api.apify.com/v2/acts/apidojo~urbandictionary-scraper/runs?token=$API_TOKEN" \
23  -X POST \
24  -d @input.json \
25  -H 'Content-Type: application/json'
Developer
Maintained by Community
Actor metrics
  • 2 monthly users
  • 2 stars
  • 100.0% runs succeeded
  • Created in Nov 2023
  • Modified about 10 hours ago