Software Endorsements -

GethN7

True & Honest Fan
kiwifarms.net
Or maybe learn the English language, your grammar sucks and will still suck if you rely on a tool to fix it for you.
True, but Grammarly tries to nag you to fix shit and basically says your grammar sucks ass and has continued to suck ass every so often, and it praises you if don't fuck up as often.

It's basically more an editing tool than a crutch.
 

tehpope

privacytools.io | prism-break.org
True & Honest Fan
kiwifarms.net
I'm not sure if anyone has made this suggestion, but making separate partitions for your OS and Data is a life saver. Saves a ton of time if you need to re-install your OS for any reason. Not really necessary if you have an SSD for your OS and a mechanical drive for your storage or something else. Linux can probably get away with like 64gb to 128gb for a partition. Windows might need more.

If you're using the same family of Linux Distros, your home folder will keep all your app settings. All you need to do and reinstall your daily apps and the settings should just work. At least that's been my experience.
 
A

AF 802

Guest
kiwifarms.net
OP is a Nigerian nigger that stole my credit card info.
 

DDBCAE CBAADCBE

kiwifarms.net
If someone can confirm this is safe and or link to a better one it would be very appreciated. Having Youtube videos while in an area without internet would be very nice.
 

Sam Losco

True & Honest Fan
kiwifarms.net
It's just a bat file that uses youtube-dl. Just use youtube-dl and you don't need this. It's pretty much the same level of difficult.

Code:
@echo off && pushd "%~dp0" && setlocal && set BR=^&echo/ && chcp 65001 >NUL 2>&1

if exist youtube-dl.exe echo/Note: youtube-dl updates frequently; you can remove the exe to have this script download the latest version. %BR%

::Downloads youtube-dl
if not exist youtube-dl.exe (
echo|set /p="youtube-dl not detected, launching download..." %BR%
start "" /wait powershell -command "& {Write-Host "Downloading required executable..."; bitsadmin /transfer dl /dynamic /download /priority FOREGROUND https://yt-dl.org/latest/youtube-dl.exe "%CD%\youtube-dl.exe"}"
if not exist youtube-dl.exe (echo|set /p="Download failed! Try running the script again or obtaining youtube-dl.exe by other means." & pause >NUL 2>&1 & exit /b 1)
echo|set /p="Download complete!" %BR%%BR%
)

::Downloads ffmpeg
set "TMPDIR=%temp%\%RANDOM%%RANDOM%\"
if not exist ffmpeg.exe (
mkdir "%TMPDIR%"
echo|set /p="ffmpeg.exe not detected, launching download..." %BR%
start "" /wait powershell -command "& {Write-Host "Downloading required executable..."; bitsadmin /transfer dl /dynamic /download /priority FOREGROUND https://ffmpeg.zeranoe.com/builds/win64/static/ffmpeg-latest-win64-static.zip "%TMPDIR%\ffmpeg.zip"; Expand-Archive '%TMPDIR%\ffmpeg.zip' '%TMPDIR%'; Move-Item -Path '%TMPDIR%\ffmpeg-latest-win64-static\bin\ffmpeg.exe' -Destination '.\'}"
rmdir /Q /S "%TMPDIR%" >NUL 2>&1
if not exist ffmpeg.exe (echo|set /p="Download failed! Try running the script again or obtaining ffmpeg.exe by other means." & pause >NUL 2>&1 & exit /b 1)
echo|set /p="Download complete!" %BR%%BR%
)

::Prompts user for input
set /p "INPUT=Paste a video URL here (you might have to use right click in the command prompt) and press Enter: "

::The other parameters used for youtube-dl
set "YTDLARGS=--retries infinite --fragment-retries infinite --socket-timeout 5 -c -f bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4 --merge-output-format mp4 -o "%%(title)s (%%(uploader)s) %%(id)s.%%(ext)s""

::Launches youtube-dl and loops it if it fucks up.
:YTDL
youtube-dl.exe %YTDLARGS% %INPUT%
if %ERRORLEVEL% GTR 0 (
    echo/%BR%youtube-dl.exe threw an error, reattempting in 5 seconds...
    waitfor /T 5 pause 2>NUL
    call :ResetErrorLevel
    goto :YTDL
)
echo/Download complete.

pause

exit /b 0


::Sub-routine to set exit code back to 0
:ResetErrorLevel
exit /b 0
 
  • Agree
Reactions: DDBCAE CBAADCBE

OwO What's This?

𝒻𝓊𝒸𝓀
True & Honest Fan
kiwifarms.net
It's just a bat file that uses youtube-dl. Just use youtube-dl and you don't need this. It's pretty much the same level of difficult.

Code:
@echo off && pushd "%~dp0" && setlocal && set BR=^&echo/ && chcp 65001 >NUL 2>&1

if exist youtube-dl.exe echo/Note: youtube-dl updates frequently; you can remove the exe to have this script download the latest version. %BR%

::Downloads youtube-dl
if not exist youtube-dl.exe (
echo|set /p="youtube-dl not detected, launching download..." %BR%
start "" /wait powershell -command "& {Write-Host "Downloading required executable..."; bitsadmin /transfer dl /dynamic /download /priority FOREGROUND https://yt-dl.org/latest/youtube-dl.exe "%CD%\youtube-dl.exe"}"
if not exist youtube-dl.exe (echo|set /p="Download failed! Try running the script again or obtaining youtube-dl.exe by other means." & pause >NUL 2>&1 & exit /b 1)
echo|set /p="Download complete!" %BR%%BR%
)

::Downloads ffmpeg
set "TMPDIR=%temp%\%RANDOM%%RANDOM%\"
if not exist ffmpeg.exe (
mkdir "%TMPDIR%"
echo|set /p="ffmpeg.exe not detected, launching download..." %BR%
start "" /wait powershell -command "& {Write-Host "Downloading required executable..."; bitsadmin /transfer dl /dynamic /download /priority FOREGROUND https://ffmpeg.zeranoe.com/builds/win64/static/ffmpeg-latest-win64-static.zip "%TMPDIR%\ffmpeg.zip"; Expand-Archive '%TMPDIR%\ffmpeg.zip' '%TMPDIR%'; Move-Item -Path '%TMPDIR%\ffmpeg-latest-win64-static\bin\ffmpeg.exe' -Destination '.\'}"
rmdir /Q /S "%TMPDIR%" >NUL 2>&1
if not exist ffmpeg.exe (echo|set /p="Download failed! Try running the script again or obtaining ffmpeg.exe by other means." & pause >NUL 2>&1 & exit /b 1)
echo|set /p="Download complete!" %BR%%BR%
)

::Prompts user for input
set /p "INPUT=Paste a video URL here (you might have to use right click in the command prompt) and press Enter: "

::The other parameters used for youtube-dl
set "YTDLARGS=--retries infinite --fragment-retries infinite --socket-timeout 5 -c -f bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4 --merge-output-format mp4 -o "%%(title)s (%%(uploader)s) %%(id)s.%%(ext)s""

::Launches youtube-dl and loops it if it fucks up.
:YTDL
youtube-dl.exe %YTDLARGS% %INPUT%
if %ERRORLEVEL% GTR 0 (
    echo/%BR%youtube-dl.exe threw an error, reattempting in 5 seconds...
    waitfor /T 5 pause 2>NUL
    call :ResetErrorLevel
    goto :YTDL
)
echo/Download complete.

pause

exit /b 0


::Sub-routine to set exit code back to 0
:ResetErrorLevel
exit /b 0
again, this is for people who are bad at computer. essentially makes it so all you need to do is run the script and paste a link.

plus I tossed in some useful parameters and made youtube-dl automatically restart and continue where it left off if it hits an error.
 

Gustav Schuchardt

Trans exclusionary radical feminazi.
kiwifarms.net
Code:
 -f bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4 --merge-output-format mp4
This is actually the default for versions of youtube-dl built in the last few years

https://github.com/ytdl-org/youtube-dl/blob/master/README.md#readme

Since the end of April 2015 and version 2015.04.26, youtube-dl uses -f bestvideo+bestaudio/best as the default format selection (see #5447, #5456). If ffmpeg or avconv are installed this results in downloading bestvideo and bestaudio separately and muxing them together into a single file giving the best overall quality available. Otherwise it falls back to best and results in downloading the best available quality served as a single file. best is also needed for videos that don't come from YouTube because they don't provide the audio and video in two different files. If you want to only download some DASH formats (for example if you are not interested in getting videos with a resolution higher than 1080p), you can add -f bestvideo[height<=?1080]+bestaudio/best to your configuration file. Note that if you use youtube-dl to stream to stdout (and most likely to pipe it to your media player then), i.e. you explicitly specify output template as -o -, youtube-dl still uses -f best format selection in order to start content delivery immediately to your player and not to wait until bestvideo and bestaudio are downloaded and muxed.
Also you probably don't want the bestvideo, because the file will be huge. In my experience even the 360p mp4 file may be too big so you might need to just upload audio.
 

OwO What's This?

𝒻𝓊𝒸𝓀
True & Honest Fan
kiwifarms.net
This is actually the default for versions of youtube-dl built in the last few years
you might want to double check what you just pasted.


Also you probably don't want the bestvideo, because the file will be huge. In my experience even the 360p mp4 file may be too big so you might need to just upload audio.
I disagree, disk space is cheap as hell. If you're downloading something that you think is going to disappear, you should want the "original", not a substandard copy

you can always just downscale it later.
 

Gustav Schuchardt

Trans exclusionary radical feminazi.
kiwifarms.net
you might want to double check what you just pasted.
What I posted

Since the end of April 2015 and version 2015.04.26, youtube-dl uses -f bestvideo+bestaudio/best as the default format selection (see #5447, #5456). If ffmpeg or avconv are installed this results in downloading bestvideo and bestaudio separately and muxing them together into a single file giving the best overall quality available. Otherwise it falls back to best and results in downloading the best available quality served as a single file.
I.e. you'll get bestvideo+bestaudio downloaded separately by default and muxed into a single file, or alternatively you'll get the best single muxed file. Which is what you're telling youtube-dl to do with this

Code:
-f bestvideo[ext=mp4]+bestaudio[ext=m4a]/mp4 --merge-output-format mp4
I disagree, disk space is cheap as hell. If you're downloading something that you think is going to disappear, you should want the "original", not a substandard copy
When I tried to do it, Kiwi Farms rejected the 360p file as too big, and the other low resolution files as 'not video'. It also rejected .m4a. So I ended up transcoding m4a to mp3. It's not like there was much of interest in the video anyway.
 
Tags
None

About Us

The Kiwi Farms is about eccentric individuals and communities on the Internet. We call them lolcows because they can be milked for amusement or laughs. Our community is bizarrely diverse and spectators are encouraged to join the discussion.

We do not place intrusive ads, host malware, sell data, or run crypto miners with your browser. If you experience these things, you have a virus. If your malware system says otherwise, it is faulty.

Supporting the Forum

How to Help

The Kiwi Farms is constantly attacked by insane people and very expensive to run. It would not be here without community support.

BTC: 1DgS5RfHw7xA82Yxa5BtgZL65ngwSk6bmm
ETH: 0xc1071c60Ae27C8CC3c834E11289205f8F9C78CA5
BAT: 0xc1071c60Ae27C8CC3c834E11289205f8F9C78CA5
LTC: LSZsFCLUreXAZ9oyc9JRUiRwbhkLCsFi4q
XMR: 438fUMciiahbYemDyww6afT1atgqK3tSTX25SEmYknpmenTR6wvXDMeco1ThX2E8gBQgm9eKd1KAtEQvKzNMFrmjJJpiino