![๐ฏ Urbandictionary Scraper (Pay Per Result) avatar](https://images.apifyusercontent.com/at92b3ZSdkqhIhBqbBaw2mvyzw1XWNiBwZ-TitMpwfo/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vd3BxU0VlWFRXbDdxZFFWRVcvazRXWThmUkFjZEx4TGJpTmQteHguanBlZw.webp)
๐ฏ Urbandictionary Scraper (Pay Per Result)
Try for free
Pay $1.00 for 1,000 results
View all Actors![๐ฏ Urbandictionary Scraper (Pay Per Result)](https://images.apifyusercontent.com/at92b3ZSdkqhIhBqbBaw2mvyzw1XWNiBwZ-TitMpwfo/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vd3BxU0VlWFRXbDdxZFFWRVcvazRXWThmUkFjZEx4TGJpTmQteHguanBlZw.webp)
![๐ฏ Urbandictionary Scraper (Pay Per Result)](https://images.apifyusercontent.com/at92b3ZSdkqhIhBqbBaw2mvyzw1XWNiBwZ-TitMpwfo/rs:fill:92:92/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vd3BxU0VlWFRXbDdxZFFWRVcvazRXWThmUkFjZEx4TGJpTmQteHguanBlZw.webp)
๐ฏ 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
1from apify_client import ApifyClient
2
3# Initialize the ApifyClient with your Apify API token
4client = ApifyClient("<YOUR_API_TOKEN>")
5
6# Prepare the Actor input
7run_input = {
8 "startUrls": [
9 "https://www.urbandictionary.com/define.php?term=dude",
10 "https://www.urbandictionary.com/define.php?term=nah",
11 ],
12 "keywords": [
13 "afk",
14 "lol",
15 ],
16 "maxItems": 1000,
17 "customMapFunction": "(object) => { return {...object} }",
18}
19
20# Run the Actor and wait for it to finish
21run = client.actor("apidojo/urbandictionary-scraper").call(run_input=run_input)
22
23# Fetch and print Actor results from the run's dataset (if there are any)
24print("๐พ Check your data here: https://console.apify.com/storage/datasets/" + run["defaultDatasetId"])
25for item in client.dataset(run["defaultDatasetId"]).iterate_items():
26 print(item)
27
28# ๐ Want to learn more ๐? Go to โ https://docs.apify.com/api/client/python/docs/quick-start
Developer
Maintained by Community
Actor metrics
- 2 monthly users
- 2 stars
- 100.0% runs succeeded
- Created in Nov 2023
- Modified about 11 hours ago
Categories