Skip to content

Latest commit

 

History

History
37 lines (23 loc) · 1.71 KB

README.md

File metadata and controls

37 lines (23 loc) · 1.71 KB

top-crawler-agents

Last version NPM Status

A list of common crawler user agents useful for retrieving metadata from links
derivated from crawler-user-agents.

Some websites (such as Twitter) only return rich HTML metadata if you are identified as popular crawler (like Slack, or WhatsApp).

The list is derivated from crawler-user-agents after applying a script, so it's always up-to-date to latest changes.

Install

$ npm install top-crawler-agents --save

Usage

const uniqueRandomArray = require('unique-random-array')

const randomCrawlerAgent = uniqueRandomArray(require('top-crawler-agents'))

console.log(randomCrawlerAgent())
// => 'Slackbot-LinkExpanding (+https://api.slack.com/robots)'

Related

top-crawler-agents © Kiko Beats, released under the MIT License.
Authored and maintained by Kiko Beats with help from contributors.

kikobeats.com · GitHub Kiko Beats · Twitter @Kikobeats