os-torrent-hash

0.0.9 • Public • Published

os-torrent-hash

Compute opensubtitles movie hash from a torrent file. Example:

computeMovieHash(torrentUrl, engine) // engine is a peerflix engine
    .then(function (res) {
        res.movieHash; // the movie hash
        res.fileSize;  // the file name
        res.fileName;  // the file name
    })
    .catch(function (error) {
        // Handle any error from all above steps
    })
    .done();

Dependencies (3)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i os-torrent-hash

    Weekly Downloads

    1

    Version

    0.0.9

    License

    MIT

    Last publish

    Collaborators

    • guidupuy