vimeo-down-async

0.0.25 • Public • Published

This is Vimeo video downloading script!

var vimeos=require('vimeo-down-async');

vimeos.vimeodownloading('216002858','./')
//vimeos.vimeodownloading('https://vimeo.com/216002858','./')

node app.js


var vimeos=require('vimeo-down-async');
var argv = require('process');
var RegEx=require('regex-match-all');

var myArgs = process.argv.slice(2);
var mp4_id=RegEx.match(/\d+/,myArgs[0]).toString();

vimeos.vimeodownloading(mp4_id,myArgs[1],myArgs[2])

node app.js 216002858 ./ h --> Downloading Hight quality Video

node app.js 216002858 ./ --> Downloading default quality Video

node app.js VideoID Savefolder quality


quality option

  1. hight_quality(1080P)-> h

  2. medium_quality(720P)-> m

  3. standard_quality(540p)-> s

  4. low_quality(360P)-> l


var vimeos=require('vimeo-down-async');
var argv = require('process');
var RegEx=require('regex-match-all');

var myArgs = process.argv.slice(2);
var exp=myArgs[0];
switch (exp) {
  case 'g':
    var mp4_id=RegEx.match(/\d+/,myArgs[1]).toString();
     vimeos.getvimeoquality(mp4_id)
    break;
  case 'd':
      var mp4_id=RegEx.match(/\d+/,myArgs[1]).toString();
      vimeos.vimeodownloading(mp4_id,myArgs[2],myArgs[3])
    break;
  case '-h':
       console.log('(1) node app.js g 216002858  => Get vimeo quality '+'\r\n'
      +'(2) node script.js d ./ h => Downloading wimeo video! '+'\r\n');
    break;
  default:
    console.log('please input (node script.js -h) in command!');
}


node app.js g 216002858 (Get vimeo video quality info)


node app.js d 216002858 ./mp4 h (Downloading hight quality video to mp4 folder)


Just enjoy it!

Hight_quality medium_quality standard_quality low_quality total_quality

Dependents (0)

Package Sidebar

Install

npm i vimeo-down-async

Weekly Downloads

1

Version

0.0.25

License

MIT

Last publish

Collaborators

  • korykim