New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

xtorrent

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xtorrent

1337x unoffical api

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

1337x Unoffical api module

Install

npm install xtorrent

Usage

const xtorrent = require('xtorrent');
xtorrent.search({query: 'New Girl S01E12'}).then(data => {
  console.log(data);
});
xtorrent
  .search({
    query: 'Battlestar Galactica',
    category: 'TV',
    orderBy: 'time',
    sortBy: 'desc',
    page: 2,
  })
  .then(data => {
    console.log(data);
  });

Parameters

url
{string} optional.
If you need to use custom domain.

page
{integer} optional.
If you need more results you can ask for page 2, etc. Default is 1.

category
{string} optional.
To search only in the specified category.
Must be one of those values: 'Movies', 'TV', 'Games', 'Music', 'Apps', 'Documentaries', 'Anime', 'Other', 'XXX'.

orderBy
{string} optional.
To sort the results.
Must be one of those values: 'time', 'size', 'seeders', 'leechers'. Default is 'seeders'.

sortBy
{string} optional.
To sort the results.
Must be one of those values: 'desc', 'asc'. Default is 'desc'.

İnfo

xtorrent
  .info(
    'http://1337x.org/torrent/738290/Brooklyn-Nine-Nine-S01E15-HDTV-x264-2HD-ettv/',
  )
  .then(data => {
    console.log(data);
  });

Keywords

tv

FAQs

Package last updated on 01 Jan 2020

Did you know?

Socket

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