Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

12
LINES

< > BotCompany Repo | #1016055 - youtubeDownloadVideo

JavaX fragment (include)

// returns youtube-dl output
static S youtubeDownloadVideo(S url) {
  ret youtubeDownloadVideo(url, null);
}

static S youtubeDownloadVideo(S url, File outputDir) {
  Class c = hotwireDependent(#1006739);
  set(c, youTubeOptions := ""); // default video format
  set(c, +outputDir);
  callMain(c, url);
  ret str(get(c, "output"));
}

Author comment

Began life as a copy of #1009145

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1016055
Snippet name: youtubeDownloadVideo
Eternal ID of this version: #1016055/4
Text MD5: 74c8532ce22fc1ff4d8e4ae5b7538e12
Author: stefan
Category: javax / maths
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-01-07 22:44:02
Source code size: 344 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 296 / 320
Version history: 3 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1016055 & http://1016055.tinybrain.de