[Extractors] Add clarification for exporting youtube cookies (#58)

bashonly
2025-06-11 12:00:03 -05:00
committed by GitHub
parent e3836a548a
commit 7329d99284

@@ -26,6 +26,9 @@ One way to do this is through a private browsing/incognito window:
2. In same window and same tab from step 1, navigate to `https://www.youtube.com/robots.txt` (this should be the **only** private/incognito browsing tab open)
3. Export `youtube.com` cookies from the browser, then **close the private browsing/incognito window** so that the session is never opened in the browser again.
> [!NOTE]
> Do **NOT** use the `--cookies COOKIEFILE --cookies-from-browser BROWSER` method (as described in the above FAQ link) to export your cookies to a cookiefile. This will export **all** of your regular browser cookies, but **not** the cookies from this private/incognito YouTube session. Instead, use one of the browser extensions recommended in the [FAQ](https://github.com/yt-dlp/yt-dlp/wiki/FAQ#how-do-i-pass-cookies-to-yt-dlp).
## Passing Visitor Data without cookies