# yt-dlp
## With Cookies
```bash
yt-dlp --cookies cookies.txt <url>
```
## With Referer
For embedded videos that check the referring page:
```bash
yt-dlp --referer <page-url> <video-url>
```
## With Manifest Files
When direct download doesn't work, look in the browser's Network tab for `.m3u8` or `.mpd` manifest files and pass them to yt-dlp.
### JSON manifests
Sometimes the manifest is served as `master.json`. Replace `.json` with `.mpd` in the URL:
```bash
yt-dlp "https://cdn.example.com/.../master.mpd"
```