npm

Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript.Learn more »

magnet-scrape-cli

1.0.8 • Public • Published

magnet-scrape

CLI wrapper for magnet-scrape

  • magnet-scrape works with any site that contains magnet links in the response!

Install

npm i -g magnet-scrape-cli

Usage

curl https://domain.tld/search?q=example | magnet-scrape | head -1

Advanced Usage

Copy link to clipboard: curl & xclip
curl -GL 'https://thepiratebay.org/s/?apps=on\&page=0\&orderby=99' --data-urlencode "q=ubuntu desktop" | magnet-scrape | head -1 | xclip -sel clipboard -i
Download Ubuntu Desktop: curl & aria2
aria2c $(curl -GL 'https://thepiratebay.org/s/?apps=on\&page=0\&orderby=99' --data-urlencode "q=ubuntu desktop" | magnet-scrape | head -1)
Stream videos: curl & peerflix
#!/bin/bash 
 
set -e
peerflix $(curl -GL 'https://thepiratebay.org/s/?video=on\&page=0\&orderby=99' --data-urlencode "q=$*" | magnet-scrape | head -1)

install

npm i magnet-scrape-cli

Downloadsweekly downloads

19

version

1.0.8

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability