Socket
Socket
Sign inDemoInstall

torrentz2

Package Overview
Dependencies
184
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    torrentz2

Html scraper of [Torrentz2](http://torrentz2.eu). Lets find a list of magnets links by query string. Return ArrayJson as result.


Version published
Weekly downloads
15
increased by150%
Maintainers
1
Install size
21.6 MB
Created
Weekly downloads
 

Readme

Source

TORRENTZ2 API

Html scraper of Torrentz2. Lets find a list of magnets links by query string. Return ArrayJson as result.

Install

npm install torrentz2
const torrentz = require('torrentz2');
torrentz.searchTorrentz2('Ubuntu 15.04').then(console.log);
/*
{ magnet: 'magnet:?xt=urn:btih:7eb63698c76f30c03a74462af56163963c07b902
            &dn=ubuntu-pack-14.04.2-mate&tr=udp%3A%2F%2Ftracker.coppersurfer.tk%3A696
            9%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2Fannoun
            ce&tr=udp%3A%2F%2Ftracker.zer0day.to%3A1337%2Fannounce&tr=udp%3A%2F%2Fexp
            lodie.org%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker1.wasabii.com.tw%3A6969
            %2Fannounce&tr=http%3A%2F%2F173.254.204.71%3A1096%2Fannounce',
    name: 'ubuntu-pack-14.04.2-mate',
    size: '2729 MB',
    peers: '1',
    seeds: '2' },
  { magnet: 'magnet:?xt=urn:btih:18ac50d74c61883b3ab4c40f5dd3e35f157de1a2
            &dn=ubuntu-14.04-desktop-amd64.iso&tr=udp%3A%2F%2Ftracker.coppersurfer.tk
            %3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker.leechers-paradise.org%3A6969%2F
            announce&tr=udp%3A%2F%2Ftracker.zer0day.to%3A1337%2Fannounce&tr=udp%3A%2F
            %2Fexplodie.org%3A6969%2Fannounce&tr=udp%3A%2F%2Ftracker1.wasabii.com.tw%
            3A6969%2Fannounce&tr=http%3A%2F%2F173.254.204.71%3A1096%2Fannounce',
                name: 'ubuntu-14.04-desktop-amd64.iso',
    size: '964 MB',
    peers: '1',
    seeds: '2' },...
*/

Search (Cloudfare protection skip)

const torrentz = require('torrentz2');
torrentz.searchTorrentz2('Ubuntu 15.04',{skipDDOS:true}).then(console.log);

Keywords

FAQs

Last updated on 03 Jul 2020

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc