![🏯 Urbandictionary Scraper (Pay Per Result) avatar](https://images.apifyusercontent.com/_ZZVlBstNxSLiXqVXcNhbMC56pDmE1SSN2bcbWKZPrM/rs:fill:250:250/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/_ZZVlBstNxSLiXqVXcNhbMC56pDmE1SSN2bcbWKZPrM/rs:fill:250:250/aHR0cHM6Ly9hcGlmeS1pbWFnZS11cGxvYWRzLXByb2QuczMudXMtZWFzdC0xLmFtYXpvbmF3cy5jb20vd3BxU0VlWFRXbDdxZFFWRVcvazRXWThmUkFjZEx4TGJpTmQteHguanBlZw.webp)
![🏯 Urbandictionary Scraper (Pay Per Result)](https://images.apifyusercontent.com/_ZZVlBstNxSLiXqVXcNhbMC56pDmE1SSN2bcbWKZPrM/rs:fill:250:250/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
- 1 monthly user
- 2 stars
- 100.0% runs succeeded
- Created in Nov 2023
- Modified about 22 hours ago
Categories