1.1.3 • Published 4 years ago

piratescrape v1.1.3

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Petrus

A JavaScript library that can simply search and grab magnet link from The Pirate Bay :anchor:.

License: MIT npm version Install size

Install

$ npm install petrus

Usage

const Petrus = require("petrus")

Petrus.search("Final Space S01E01")
  .then(results => {
    console.log(results)
  })
  .catch(err => {
    console.error(err)
  })

Documentation

search(query, category)

Response is a list of object : [{ magnetLink, name, quality, seeder, size, uploaded }]

1.1.3

4 years ago