>>8683933
>>8683962
>>8683912
>>>8682414 (You) pb
>>=Wrapper Script=
>>https://pastebin.com/27HLwuFV
>can someone please help me figure out how to use this? I want to archive offline but this stuff is a little confusing to me. using windows and have downloaded the.exe file already.
Source & Help
DevSite: https://youtube-dl.org/
Dox: https://github.com/ytdl-org/youtube-dl/blob/master/README.md#readme
yd.sh wrapper script
I wrote the script, and will try to help…worst case scenario, you can call the youtube-dl & manually pass in parameters.. my script just automates things so I can read from a list & go crazy. The documents are pretty clear and it would only take a few hours to fine tune it if the defaults need changing ( get video thumb, description, json, etc ). It pulls best video by default, so only thing you REALLY need is the switches for CHANNEL ALL, and Playlist ALL…
Script simply asks for:
read from list Y/N
Select Video/Audio
GET: Single, Channel All, Playlist Single, Playlist All
settings
Most of the settings never change, so you can write simple win scripts for 3 scenarios:
1 - single download from URL
2 - entire playlist from URL ← playlist link or any URL that has and index in the URL
3 - entire channel from URL ← channel's main page
you can hardcode most of the settings, and just pass in the URL with %%1 if I recall
For Windows: get CMDER ( a virtual bash shell ) - it has an interpreter
Architecture:
ytdl.sh <- bash script
.env <- paths for input/output
youtube-dl <- exe that ytdl.sh calls
Again, you can use youtube-dl all on its own ( might need python, check their site )
.env
the '.env' file holds:
`1 - the destination folder: YTU_DEST=/home/uc/Videos/ytu
`2 - a logfile: YTU_LOG=ytu.log
`3 - a list for batch processing: YTU_LIST=ytu-list.txt
Again, you can hard code these so you don't need this dependency
Update paths in .env
CONFIG PARAMS in .env
YTU_DEST=/home/uc/Videos/ytu
YTU_LOG=ytu.log
YTU_LIST=ytu-list.txt
.env contents
SCRIPT_DIR:
YTU_DEST : /home/uc/Videos/ytu
YTU_LOG : /home/uc/Videos/ytu/ytu.log
YTU_LIST : /home/uc/t/git/ytu/ytu-list.txt
If you have a hardon for getting videos NOW.. go the manual route and jack with the script later ;)