npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@speed_of/movietorrent-scraper

v2.0.4

Published

movietorrent scraper for extracting movie news from all pages.

Downloads

127

Readme

movietorrent-scraper

@speed_of/movietorrent-scraper — YTS.mx, 1377x ve TorrentDownloads sitelerinden film ve torrent bilgisi çeken Node.js kütüphanesi. Harici bağımlılık gerektirmez; Node.js built-in https/http modüllerini kullanır.

Kurulum

npm install @speed_of/movietorrent-scraper

veya kaynak koddan:

git clone https://github.com/cengizkaraaslan/movienews-scraper.git
cd movienews-scraper
npm run build

Kullanım

YTS Movie Scraper

YTS.mx üzerinden film arama ve torrent bilgisi çekme.

const { ytsMovieScraper } = require('@speed_of/movietorrent-scraper');

// Film arama
const movies = await ytsMovieScraper.search('Inception', '2010');
// year parametresi: tek yıl "2010", aralık "2010-2020" veya tümü "0"

console.log(movies);
// [
//   {
//     id: 'inception-2010',
//     title: 'Inception',
//     year: '2010',
//     rating: '8.8 / 10',
//     genre: 'Action',
//     imageurl: 'https://img.yts.mx/...',
//     url: 'https://yts.mx/movies/inception-2010'
//   }, ...
// ]

// Torrent listesi alma
const torrents = await ytsMovieScraper.getTorrents('inception-2010');

console.log(torrents);
// [
//   {
//     link: 'https://yts.mx/torrent/download/...',
//     description: 'Inception 1080p BluRay x264',
//     size: '2.15 GB',
//     resolution: '1920x800',
//     language: 'English',
//     fps: '23.976 FPS',
//     duration: '2h 28min',
//     seeds: '1234',
//     subtitlesUrl: 'https://yifysubtitles.ch/...',
//     quality: '1080p BluRay x264'
//   }, ...
// ]

search(query, year) | Parametre | Tür | Açıklama | |-----------|--------|-----------------------------------------------| | query | string | Aranacak film adı | | year | string | Yıl filtresi: "2010", "2010-2020", "0" |

getTorrents(movieId) | Parametre | Tür | Açıklama | |-----------|--------|-----------------------------------------------| | movieId | string | Film slug'ı (örn. "inception-2010") |


1377x Movie Scraper

1377x.to üzerinden film arama ve magnet link çekme.

const { xtoMovieScraper } = require('@speed_of/movietorrent-scraper');

// Film arama (query, year, page)
const movies = await xtoMovieScraper.search('Interstellar', '2014', 1);

console.log(movies);
// [
//   {
//     id: '1234567',
//     title: 'Interstellar 2014 1080p BluRay x264',
//     year: '2014',
//     rating: '423',       // seeds sayısı
//     quality: '1080p BluRay x264',
//     imageurl: '',
//     url: 'https://www.1377x.to/torrent/1234567/...'
//   }, ...
// ]

// Magnet & detay alma
const info = await xtoMovieScraper.getTorrents('https://www.1377x.to/torrent/1234567/...');

console.log(info);
// {
//   magnetLink: 'magnet:?xt=urn:btih:...',
//   imdbId: 'tt0816692',
//   language: 'English',
//   size: '2.18 GB',
//   seeders: 423
// }

search(query, year, page) | Parametre | Tür | Açıklama | |-----------|--------|------------------------| | query | string | Aranacak film adı | | year | string | Yıl filtresi (opsiyonel) | | page | number | Sayfa numarası (1, 2 …) |

getTorrents(url) | Parametre | Tür | Açıklama | |-----------|--------|-----------------------------| | url | string | 1377x torrent sayfası URL'si |


TorrentDownloads Scraper

TorrentDownloads.pro üzerinden film arama ve torrent bilgisi çekme.

const { torrentDownloadsScraper } = require('@speed_of/movietorrent-scraper');

// Film arama (title, year?, page?)
const movies = await torrentDownloadsScraper.search('The Dark Knight', '2008');

console.log(movies);
// [
//   {
//     id: '9876543',
//     title: 'The Dark Knight 2008 1080p',
//     year: '2008',
//     rating: '3',          // health skoru
//     quality: '1080p',
//     size: '2.10GB',
//     seeds: 521,
//     leech: 48,
//     url: 'https://www.torrentdownloads.pro/torrent/9876543/...',
//     health: '3'
//   }, ...
// ]

// Torrent detay alma
const info = await torrentDownloadsScraper.getTorrentInfo('https://www.torrentdownloads.pro/torrent/9876543/...');

console.log(info);
// {
//   magnetLink: 'magnet:?xt=urn:btih:...',
//   infoHash: 'abc123...',
//   language: 'English'
// }

search(title, year?, page?) | Parametre | Tür | Varsayılan | Açıklama | |-----------|--------|------------|------------------------| | title | string | — | Aranacak film adı | | year | string | undefined | Yıl filtresi (opsiyonel) | | page | number | 1 | Sayfa numarası |

getTorrentInfo(url) | Parametre | Tür | Açıklama | |-----------|--------|-----------------------------------| | url | string | TorrentDownloads torrent URL'si |


TypeScript

import { ytsMovieScraper, xtoMovieScraper, torrentDownloadsScraper } from '@speed_of/movietorrent-scraper';

const movies = await ytsMovieScraper.search('Inception', '2010');

Test Komutları

npm run testYtsSearch
npm run testYtsGetTorrents
npm run testxtoSearch
npm run testxtoGetTorrents
npm run testTorrentDownloadsSearch
npm run testTorrentDownloadGetTorrents

Bağımlılıklar

Harici bağımlılık yoktur. Node.js built-in https/http modülleri kullanılır (Node.js >= 12).


Lisans

MIT — Cengiz Karaaslan