Update example yt-dlp commands in README.md for consistency

This commit is contained in:
Minidu Thiranjaya
2026-03-29 10:15:04 +05:30
parent 26de3634a6
commit 86a0fc0df2

View File

@@ -56,7 +56,7 @@ Chromium-based browsers (Edge, Chrome, Brave) **lock the cookie database while r
```bash
# 1. Close Edge/Chrome completely
# 2. Run:
yt-dlp --cookies-from-browser edge -f "bestvideo+bestaudio/best" --merge-output-format mp4 -o "lecture.mp4" "https://sitename.com/..."
yt-dlp --cookies-from-browser edge -f "bestvideo+bestaudio/best" --merge-output-format mp4 -o "vid.mp4" "https://sitename.com/..."
# 3. Reopen the browser
```
@@ -67,7 +67,7 @@ Firefox does **not** lock its cookie database, so `--cookies-from-browser firefo
Export cookies while the browser is open using the **[Get cookies.txt LOCALLY](https://chromewebstore.google.com/detail/get-cookiestxt-locally/cclelndahbckbenkjhflpdbgdldlbecc)** extension, then run:
```bash
yt-dlp --cookies cookies.txt -f "bestvideo+bestaudio/best" --merge-output-format mp4 -o "lecture.mp4" "https://sitename.com/..."
yt-dlp --cookies cookies.txt -f "bestvideo+bestaudio/best" --merge-output-format mp4 -o "vid.mp4" "https://sitename.com/..."
```
**Steps to export cookies.txt:**