[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: ytdlp.png (20 KB, 500x224)
20 KB
20 KB PNG
can't download more than 10 videos without getting banned

...YouTube won
>>
Proofs?
>>
Works on my machine.
>>
>>106810128
you're not downloading enough then
>>
>>106810118
none of course
>>
>>106810367
if you're a small fish sure
>>
Sounds like a you problem.
>>
>>106809825
what do you do when you get banned?
>>
>>106810672
bulk download
>>
>>106810672
Start your own spite video hosting web zone.
>>
>>106809825
> use longer time outs
> limit speed (bandwidth)
> use VPNs
>>
>>106809825
residential proxies exist o algo.
>>
>>106810873
>use VPNs
"Sign in to confirm you're not a bot"
>>
>>106809825
These are the kind of idiots that abuse the system and now everyone has to paid for their incompetence.
Thanks for making the internet worse every fucking day fucking subhuman.
>>
>>106810873
>use longer time outs
>limit speed (bandwidth)
How?
>>
>>106809825
Are you downloading more than one video at the time?
>>
>>106809825
I use yt-dlp all the time and i haven't been banned
>>
>>106809825
I just got 867 videos yesterday
>>
>>106811788
Yt-dlp --help
Learn to read or learn to grep
>>
>>106809825
What could you be downloading more than 10+ of at any one time? Just space shit out.
>>
>>106811960
>>106811996
how do you do it saars
>>
>>106812013
does the github or the help command tell you how to make a separate folder to place all the downloads in?
>>
YOU VILL OWN NOTHING
>>
>>106813055
Yes.
>>
>>106813055
-o
>>
I'm already looking into buying YouTube Premium and everyone at my PhD level job is too.
>>
>>106814028
this won't let you download 1000 videos per day
>>
>>106809825
can you fucking stop downloading videos constantly you stupid fucking morons? you're ruining it for everyone else. fuck your nonstop downloads from youtube
>>
they're not specifically targetting ytdlp right? it's just a consequence of them trying to kill adblockers right?
>>
>>106809825
this shit never works for me. 8 can't download a fucking thing with it. Always a fucking error
>>
>>106815838
What error do you get?
>>
>>106816000
I can't say, surgically, right now, because, I'm phonefagging ATM, but, it's always related to the YouTube link. As in, it can't access the link or the page format or some shit
>>
>>106815706
it's google, a big company. there is probably one team to fuck with ytdlp
>>
>>106816065
Specifically*
>>
My cousin used a Telegram bot to download YT video, and he says it's kaput.

I told him he could use Rapidpars, but that one, too, will probably stop offering YT downloads.

Jew Wants Money. Jew Wants More Money. Jew Wants Most Money. Jew Wants All Money.
>>
>>106815704
>can you fucking stop downloading videos constantly you stupid fucking morons? you're ruining it for everyone else. fuck your nonstop downloads from youtube

good boi
>>
>>106810932
wouldnt that be expensive as fuck.
>>106810966
never had that problem. and you can just give yt-dlp some throwaway yt account cookies anyway.
>>
>>106813766
o-o
>>
>>106816000
>ERROR: unable to download video data: HTTP Error 403: Forbidden
>>
I get banned and throttled even on pipepipe, I have to use data to start the video and use wifi to handle the rest, it's annoying as all fuck.
I also just turn on the vpn, I don't think this is a good use of YouTube's time with all the other issues they have.
>>
>>106809825
Not my problem.
>>
>>106809825
>more than 10 videos
use case?
>>
>>106809825
>10 videos per day
>3650 videos per year
so?
>>
>>106817796
>>106817853

youtube employees infiltrated the thread
>>
>>106816071
The comp must be out of this world
>>
>>106818733

500k+ TC to shill youtube premium on this thread
>>
>>106809825
>use my chink fone built-in screen recorder
>>
>>106812040
Sometimes you discover a channel with years worth of content that seems it might get removed soon due to current uploads.
>>
>>106819024
Name 5 times this has happened to you.
>>
>>106819260

I'm currently trying to back up a channel with 2000 2hr+ livestream
>>
File: 1522939618122.jpg (82 KB, 1280x1172)
82 KB
82 KB JPG
>>106810672
>>
#!/bin/bash

# Check if required parameters are provided
if [ $# -lt 3 ]; then
echo "Usage: $0 <video_url> <output_name> <output_type> [start_time] [end_time]"
echo "Output types: webm (4chan with audio), webm-na (4chan no audio)"
echo "Example: $0 https://www.youtube.com/watch?v=dQw4w9WgXcQ my_clip webm 00:00:10 00:00:25"
exit 1
fi

# Assign parameters to variables
URL=$1
OUTPUT_NAME=$2
OUTPUT_TYPE=$3
START_TIME=${4:-0}
END_TIME=${5:-}

# Function to check file size
check_file_size() {
local file=$1
local size=$(du -k "$file" | cut -f1)
if [ $size -gt 6000 ]; then
echo "Warning: $file is larger than 6000KB ($size KB)"
fi
}

# Download video with yt-dlp
yt-dlp $COOKIE_OPTION -f "bv*+ba/b" $URL -o "temp_video.%(ext)s"

# Get the extension of the downloaded file
EXT=$(ls temp_video.* | sed 's/.*\.//')

# Prepare FFmpeg input options
if [ -n "$END_TIME" ]; then
INPUT_OPTIONS="-ss $START_TIME -to $END_TIME"
else
INPUT_OPTIONS="-ss $START_TIME"
fi

# Process based on output type
case $OUTPUT_TYPE in
webm)
ffmpeg $INPUT_OPTIONS -i "temp_video.$EXT" -c:v libvpx -c:a libvorbis -crf 4 -b:v 1500K -vf scale=1280:-1 -threads 4 "${OUTPUT_NAME}.webm"
check_file_size "${OUTPUT_NAME}.webm"
echo "Output file: ${OUTPUT_NAME}.webm"
;;
webm-na)
ffmpeg $INPUT_OPTIONS -i "temp_video.$EXT" -c:v libvpx -an -crf 4 -b:v 1500K -vf scale=1280:-1 -threads 4 "${OUTPUT_NAME}_nosound.webm"
check_file_size "${OUTPUT_NAME}_nosound.webm"
echo "Output file: ${OUTPUT_NAME}_nosound.webm"
;;
*)
echo "Invalid output type. Use webm, webm-na."
exit 1
;;
esac

# Clean up temporary file
rm "temp_video.$EXT"

echo "Conversion complete."

I also have an iphone case for sending videos to friends with an iphone, and a bit for using browser cookies to rip twitter links I'm sent. Saved in my ~/bin as vid-clip
>>
>>106819503
kek
>>
>just feed your cookies to ytdlp bro
>it's that easy bro

It's a stupid as fuck idea, that's what it is.
They are already keeping out people who use that script.
If you hook up your actual account to your ytdlp they will just take your account down plus you just handed over your entire browser cookies to some script you got from github.
>>
>>106816000
>log in to prove you're not a bot
>>
>>106819705
how about you stop being a schizo and just do as you're told?
>>
I have a web UI I built around yt-dlp so my wife and I can download stuff easily + from anywhere. I've considered releasing it publicly but I don't want to deal with support + it's currently just part of our internal homelab monorepo so I'd have to split it out.

Anyway, I've found that these 3 things have helped keep yt-dlp working for us:
>a: toggles that let you pick: PO token, cookies (from a burner account), both, or neither.
>b: for playlists, I stopped using the actual yt-dlp playlist download, and instead i grab the json for the playlist, analyze it, then download videos individually with retries. Each video gets 3 retries and I parse the error output to determine if it's rate-limiting, account getting A/B tested for forced SABR, or some other error. And I do backoff on retries appropriately.
>c: toggles that let me pick which client it pretends to be (web, tv, embedded, etc)

b helped a lot just in general. Then if it "stops working" I typically just need to go flip toggles on a and c to just see what google feels like letting work that day.
>>
>>106809825
Works on my machine
>>106810356
I literally have a script that automatically downloads hundreds of gigabytes to my server for me to consoom
.>>106810672
Wait a few hours, then try again
>>
>>106817853
Gooning
>>
>>106819937
bans can last multiple days
>>
>>106819705
I don't want to associate my account with the degen stuff I'm downloading
>>
>>106809825
I used to be able to to rip entire Instagram pages with Instaloader, but they changed something a year or so ago, and now nothing seems to work.

>>106810118
It all depends on whether the people maintaining yt-dlp are motivated to continue and able to get over every new hurdle Google throw at them.
Some retard once used the argument that random hobbyists maintaining programmes and extensions (Ublock for instance) would always win out because they are more motivated than the people working at the major tech corporations. The fact is, they have armies of people and infinity resources, whereas Mike is just an autiste doing it in his own spare time.
>>
>>106819978
Considering how sterile and clinically clean Youtube is nowadays I literally have no idea what kinda content you're talking about that could be too horrible to be associated with your account.
>>
>>106819367
You're never gonna watch all that stuff, and most of it is probably very repetitive. Just pick the ones that seem most interesting and download those.
>>
>>106820222

it's obviously not for my consumption
>>
>>106809825
I ask politely, please stop making these threads. It's causing me undue stress every time I see some "yt-dlp/freetube/invidious is broken" bait thread in the catalog.
>>
XHAMSTER IS STILL BROKEN REEEEEE
>>
>>106821023
What the fuck is wrong with you.
There is literally nothing on that site worth a download.
>>
>>106820990
Well it is broken on Youtube, you know, the site that gave the damn thing its name.
Or at least it's broken for most since Youtube is always only gradually rolling out their anti download shenanigans. So things can work for some while not working anymore for others.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.