Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download via batch-file makes yt block my ip, even with sleep-interval #23447

Closed
Alomo1990 opened this issue Dec 18, 2019 · 1 comment
Closed

Download via batch-file makes yt block my ip, even with sleep-interval #23447

Alomo1990 opened this issue Dec 18, 2019 · 1 comment

Comments

@Alomo1990
Copy link

@Alomo1990 Alomo1990 commented Dec 18, 2019

Checklist

  • I'm asking a question
  • I've looked through the README and FAQ for similar questions
  • I've searched the bugtracker for similar questions including closed ones

Question

I use youtube-dl to continuously download a list of channels which is fed by a pastebin-file.

Even when i use sleep-interval for every download and let the script sleep for 600 seconds after every run, i still get ip-blocked (HTTP Error 429) by youtube after a few hours.

/home/alex/YouTube-Downloads/youtube-abos.sh

while true; do
curl https://pastebin.com/raw/eWJeF0kv > /home/alex/YouTube-Downloads/youtube-abos.txt &&
youtube-dl -4 --download-archive /home/alex/YouTube-Downloads/youtube-abos-archive.txt --playlist-end 5 --batch-file /home/alex/YouTube-Downloads/youtube-abos.txt -f 'bestvideo[ext=mp4]+bestaudio[ext=m4a]/best[ext=mp4]/best' -o '/home/alex/YouTube-Downloads/Downloads/%(uploader)s/%(title)s.%(ext)s' &&
rm -f /home/alex/YouTube-Downloads/youtube-abos.txt &&
echo 'Wait 600 seconds' &&
sleep 10m
done

/etc/youtube-dl.conf

--ignore-errors
--no-continue
--newline
--no-call-home
--mark-watched
--min-sleep-interval 30
--max-sleep-interval 120

Any idea how to make this work?

@Alomo1990 Alomo1990 added the question label Dec 18, 2019
@dstftw dstftw closed this Dec 18, 2019
@dstftw dstftw added the duplicate label Dec 18, 2019
@Alomo1990
Copy link
Author

@Alomo1990 Alomo1990 commented Dec 18, 2019

Can you at least lead me to the duplicate?
I used the search for hours, but found no answer for my question...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.