π― Urbandictionary Scraper (Pay Per Result)
Pay $1.00 for 1,000 results
π― Urbandictionary Scraper (Pay Per Result)
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.
Urban Dictionary Scraper
Urban Dictionary Scraper is an Apify actor for extracting definitions from from urbandictionary.com. It gives you access to the huge community based list of definitions for slang, meme, or many different things that is ongoing around the Web in structured form. It is build on top of Apify SDK and you can run it both on Apify platform and locally.
Input Parameters
Field | Type | Description | Default value |
---|---|---|---|
startUrls | array | Urban Dictionary full search URLs as a String Array | [] |
keywords | array | List of keywords that you want to search on Urban Dictionary | [] |
maxItems | number | Maximum number of items that you want to receive as output | Infinity |
customMapFunction | string | Function that takes each of the output rows as argument and returns data that will be mapped, changed formatting, of the each rows. More information in Custom map function |
π Demo Mode & Free Users
The users that are on Free Plan can use the actor only on Demo Mode. Please keep in mind that the users that are on Free Plan can retrieve a maximum of 10 items, and cannot use the actor via API. If you want to use this actor without any limitation, you have to subscribe to a paid plan on Apify. You can check this link to subscribe easily.
Compute Unit Consumption
The average consumption is 0.003 to 0.005 per 100 results. It is extremely fast and optimized for the public usage.
Output
Output is stored in a dataset. Each item is information about post related with a keyword.
1{ 2 "definition": "[An abbreviation] that stands for 'laugh out loud' to you, but 'lots of [love'] for [your mom].", 3 "url": "http://lol.urbanup.com/11482563", 4 "numberOfThumbsUp": 5528, 5 "author": "dyhtgrew", 6 "word": "lol", 7 "id": 11482563, 8 "createdAt": "2017-04-26T02:41:29.898Z", 9 "example": "Mom: [Grandma] just [died]. LOL\r\nSon: Mom [what the fuck]?", 10 "numberOfThumbsDown": 714 11}
Custom map function
You can use this function to change the output of each of the rows that you will get from this actor. This function gets each of the rows on the output as an argument so you can change the formatting, pick which attributes you want to get as the output. The output from this function will be converted into the format you will return. This function is not intended for filtering, please don't use it for filtering purposes or you will get banned automatically.
The return value of this function has to be an object!
You can return fields to achive 3 different things:
- Add a new field - Return object with a field that is not in the default output
- Change a field - Return an existing field with a new value
- Remove a field - Return an existing field with a value
undefined
1(object) => { 2 return { 3 author: object.author + " user", 4 id: `${object.id}`, 5 } 6}
This example will change the output in the following way;
1{ 2 "author": "dyhtgrew user" 3 "id": "11482563" 4}
Urban Dictionary Scraper Export
During the run, the actor stores results into a dataset. Each item is a separate item in the dataset.
You can manage the results in any language (Python, PHP, Node JS/NPM). See the FAQ or our API reference to learn more about getting results from this Urban Dictionary actor.
Contact
If you need any sort of support, please send an email to apidojo10@gmail.com. You name it, we get it.
π΄ Other Actors you might want to check
Actor Metrics
3 monthly users
-
3 stars
>99% runs succeeded
Created in Nov 2023
Modified 14 hours ago