Skip to content

jonetu/nodejs-torrent-finder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Torrent Magnet-link Searchs🧲

Web-Scrapping for magnet links

This software do not contribute to piracy, it's only a bot to find P2P magnet links from web

Install dependences

run npm install

  $ npm install

Usage

Make index.js contain

const controller = require('./app/controller')

    var search = "dom casmurro"
    
    controller.extractTorrents(search).then(data => {
            if (!data.urls.length) {
                console.log('No data found 🥺');
                return;
            }
            data.urls.forEach(item => {
                i++;
                console.log(item.name, item.uri)
            });
        }).catch(err => console.log(err))

Modify search variable, example: Awesome Dom Casmurro book

var search = "dom casmurro"

The output will be:

# Retrieving sources from source
# Extracting magnets links...
# name | magnet links found

The output with no data found

$ No data found 🥺

Web view app

just run this another code

  $ node web.js

This software is for educational purposes only.