1.2.3 • Published 12 months ago
urban-scraper v1.2.3
urban-scraper
A package that scrapes the Urban Dictionary.
Installation
npm install urban-scraper
Usage
// get a specific term
await getTerm("urban");
// get a specific term with markdown formatting
await getTerm("urban", true);
// get a random term
await getRandom();
Example response
{
found: true,
term: "Urban",
id: 11468038,
url: "https://www.urbandictionary.com/define.php?term=Urban&defid=11468038",
description: "when ur too lazy to type out urban dictionary",
example: 'I wonder how urban dictionary is defined in the urban dictionary. hmmm. "urban....clicks enter"',
createdAt: 2017-04-21T22:00:00.000Z,
author: {
name: "fghjkm",
url: "https://www.urbandictionary.com/author.php?author=fghjkm"
},
thumbs: { up: 8184, down: 911 }
}
1.2.3
12 months ago
1.2.2
12 months ago
1.2.1
12 months ago
1.2.0
12 months ago
1.1.5
12 months ago
1.1.4
12 months ago
1.1.3
12 months ago
1.1.2
12 months ago
1.1.1
12 months ago
1.1.0
12 months ago
1.0.7
1 year ago
1.0.6
1 year ago
1.0.5
1 year ago
1.0.4
1 year ago
1.0.3
1 year ago
1.0.2
1 year ago
1.0.1
1 year ago
1.0.0
1 year ago