pinchflat
pinchflat copied to clipboard
[FR] Blacklist age restricted videos from fast indexing
Is your feature request related to a problem? Please describe. One of my sources has a few age restricted videos. These are stuck in pending, and are automatically retried often. I don't want to go through the effort of using cookies nor do I want to take the risk of doing so.
Describe the solution you'd like Videos that have failed to download specifically due to age restriction should be blacklisted from future fast indexing when the option "Use Cookies for Downloading" is disabled.
Describe alternatives you've considered Using title regex (lol).
Additional context
2025-02-21 14:10:30.815 [info] | [command_wrapper]: /usr/local/bin/yt-dlp called with: https://www.youtube.com/watch?v=<redacted> --simulate --skip-download --print-to-file %(.{live_status})j /tmp/pinchflat/data/af/0e/af0e6c52fd014713c610eb7a2a144819635329432d89b90990145cc2919b6aca.json --windows-filenames --quiet --cache-dir /tmp/pinchflat/data/yt-dlp-cache
2025-02-21 14:10:33.763 [error] | [command_wrapper]: /usr/local/bin/yt-dlp called with: https://www.youtube.com/watch?v=<redacted> --simulate --skip-download --print-to-file %(.{live_status})j /tmp/pinchflat/data/af/0e/af0e6c52fd014713c610eb7a2a144819635329432d89b90990145cc2919b6aca.json --windows-filenames --quiet --cache-dir /tmp/pinchflat/data/yt-dlp-cache exited: 1 with: ERROR: [youtube] <redacted>: Sign in to confirm your age. This video may be inappropriate for some users. Use --cookies-from-browser or --cookies for the authentication. See https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp for how to manually pass cookies. Also see https://github.com/yt-dlp/yt-dlp/wiki/Extractors#exporting-youtube-cookies for tips on effectively exporting YouTube cookies
2025-02-21 14:10:33.763 [error] | yt-dlp download error for media item #4265: "ERROR: [youtube] <redacted>: Sign in to confirm your age. This video may be inappropriate for some users. Use --cookies-from-browser or --cookies for the authentication. See https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp for how to manually pass cookies. Also see https://github.com/yt-dlp/yt-dlp/wiki/Extractors#exporting-youtube-cookies for tips on effectively exporting YouTube cookies\n"
Hey there! Thanks for the report (:
Good call! Will change 🤙