➡️ searches the pad.ma archive by transcripts
➡️ returns set of videos or a single merged video, in other words, a supercut
➡️ this is a dra.ft (probably gonna call all my WIPs as dra.fts from now on)
- this tool requires node version 14 or above. If you do not have node installed or have a lower version look here for instructions
- since we are working with video information we also need ffmpeg to be installed, find how to do so here
cd <this folder>
npm i
node index.js "SEARCH_TERM"
➡️ SEARCH_TERM : the keyword to search by
➡️ RANGE : upper limit for number of videos to be processed, default value is 10
➡️ DURATION_LIMIT : upper limit for length or duration of each cut
➡️ FOLDER_NAME : name of folder to save output
➡️ FILE_NAME : name of output file
-
node index.js SEARCH_TERM -n 200 -c 10
takes cuts, with maximum duration as 10 seconds, from the first 200 search results
-
node index.js SEARCH_TERM -n 20 -dir FOLDER_NAME
takes cuts from the first 20 search results with any length and uses
FOLDER_NAME
as the output directory -
node index.js SEARCH_TERM -o FILE_NAME
takes cuts from the first 10 search results with any length and uses
FILE_NAME
as supercut output file name (without extension), output is always in.webm
https://drive.google.com/drive/folders/1OejG6FIYhx0UNnvyhC3aLJ_p037wbEGr
- add cmd throbber
- find way to shorten length of cuts
- shift to something other than request-promise
- provide more context (?) - transcript etc
- expand pad.ma search functionality
- expand within each result search functionality - pattern matching
- use path instead of template strings for folders