top-crawler-agents

1.0.27 • Public • Published

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

Package Sidebar

Install

npm i top-crawler-agents

Weekly Downloads

19

Version

1.0.27

License

MIT

Unpacked Size

21.7 kB

Total Files

5

Last publish

Collaborators

  • kikobeats