magnet-scrape-cli
CLI wrapper for magnet-scrape
Last updated a year ago by pro-src .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install magnet-scrape-cli 
SYNC missed versions from official npm registry.

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)

Current Tags

  • 1.0.8                                ...           latest (a year ago)

9 Versions

  • 1.0.8                                ...           a year ago
  • 1.0.7                                ...           a year ago
  • 1.0.6                                ...           a year ago
  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |