1.0.0 • Published 7 years ago

zone-telechargement v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

ZoneTelechargement

ZoneTelechargement node dirty api

Install

npm install zone-telechargement

Quick Example

Search

const ZoneTelechargement = require('zone-telechargement');

ZoneTelechargement.search('star wars')
    .then(results => {
        console.log(results);
    });

// Results
[
    {
        imageUrl:"http://fr.web/pictures/xxx.jpg"
        link:"https://www.zone-telechargement.ws/xxx.html"
        title:"Rogue One: A Star Wars Story"
    },
    ...
]

GetDetails

const ZoneTelechargement = require('zone-telechargement');

ZoneTelechargement.getDetails('https://www.zone-telechargement.ws/xxx.html')
    .then(result => {
        console.log(result);
    });

// Result
[
    {
        detail:'Raw Html'
        links: 
            [
                "http://uptobox.com/xxx", 
                "http://ul.to/xxx",
                "http://1turbobit.net/xxx.html",
                ...
            ]
    },
    ...
]

License

MIT © 2017 Jimmy Laurent