{% extends "base.html" %} {% block title %}Cookies{% endblock %} {% block content %}

Cookie Status

Status: {% if has_cookies %} Cookies file configured {% else %} No cookies file uploaded {% endif %}
{% if has_cookies %}
Success! YouTube cookies are configured. This helps prevent "Sign in to confirm you're not a bot" errors.
Delete Cookies {% else %}
Warning: Without cookies, YouTube may block downloads with "Sign in to confirm you're not a bot" errors.
{% endif %}

Upload Cookies File

Must be in Netscape format (cookies.txt)

How to Export YouTube Cookies

Method 1: Browser Extension (Recommended)

  1. Install the "Get cookies.txt LOCALLY" extension for Firefox or Chrome:
  2. Go to youtube.com and make sure you're logged in
  3. Click the extension icon in your browser toolbar
  4. Click "Export" or "Download" to save cookies.txt
  5. Upload the file here

Method 2: Using yt-dlp (Advanced)

If you have yt-dlp installed locally:

yt-dlp --cookies-from-browser firefox --cookies cookies.txt --skip-download "https://www.youtube.com/watch?v=dQw4w9WgXcQ"

Replace firefox with chrome, edge, or safari as needed.

Why Are Cookies Needed?

YouTube uses bot detection to prevent automated downloads. By providing cookies from a logged-in browser session, yt-dlp can authenticate as your browser and avoid these restrictions.

Security Note: Cookies contain authentication tokens. Only upload cookies to trusted applications. The cookie file stays on your server and is not transmitted elsewhere.

{% endblock %}