Description Usage Arguments Examples
View source: R/videoListDownloadByTable.R
Download YouTube videos/audios by providing a table of video/audio list.
1 2 3 4 5 6 7 8 9 | videoListDownloadByTable(
fileList,
fileTable = NULL,
path,
bothVideoAudio = TRUE,
priority = c("mp4", "best", "audio only"),
id = NULL,
sleepTime = 10
)
|
fileList |
the file name of video/audio list table. This table
is a csv file generated by |
fileTable |
the file table returned by |
path |
the path to save video/audio files. |
bothVideoAudio |
logic, whether download both audio and video,
it should be FALSE if only downloading audio or video. The default
is |
priority |
the file format to download. The option can be any one (or combination) of "mp4", "best", "audio only", "mp3", "webm", the default is c("mp4", "best", "audio only"), which means the downloader will look for mp4 file first, if this file does not exist, then the downloader will look for the best file marked by YouTube, then look for only audio file. |
id |
numeric or |
sleepTime |
numeric, the time to pause to prevent YouTube blocking. The default is 10 second |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.