informatica:linux:video:descargar_videos
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| informatica:linux:video:descargar_videos [2026/07/16 08:47] – created jose | informatica:linux:video:descargar_videos [2026/07/16 09:11] (current) – [Método 1] jose | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Telemadrid ====== | ====== Telemadrid ====== | ||
| + | En un vídeo de Telemadrid, pulsar compartir y aparece " | ||
| + | <iframe src='// | ||
| + | |||
| + | Descargamos el vídeo con el comando: | ||
| + | yt-dlp '// | ||
| + | |||
| + | |||
| + | ===== Método 1 ===== | ||
| + | Directo con yt-dlp (recomendado) | ||
| + | |||
| + | Solo necesitas el Brightcove Account ID y el Video ID. Se obtienen así: | ||
| + | |||
| + | < | ||
| + | 1. Abre la página del video en Chrome/ | ||
| + | 2. Ve a la pestaña Network (Red) | ||
| + | 3. Filtra por " | ||
| + | 4. Recarga la página | ||
| + | 5. Busca una petición como: | ||
| + | | ||
| + | 6. En la respuesta JSON busca el campo " | ||
| + | </ | ||
| + | Una vez tienes el accountId y videoId: | ||
| + | |||
| + | # El accountId de Telemadrid es siempre 6416060453001 | ||
| + | |||
| + | yt-dlp " | ||
| + | |||
| + | ===== Método 2 ===== | ||
| + | Método 2: con Playwright (si quieres automatizar) | ||
| < | < | ||
| from playwright.sync_api import sync_playwright | from playwright.sync_api import sync_playwright | ||
| Line 22: | Line 51: | ||
| hls_url = video_data[' | hls_url = video_data[' | ||
| mp4_url = video_data[' | mp4_url = video_data[' | ||
| + | | ||
| + | # Descargar con yt-dlp | ||
| + | # o descargar directo: wget " | ||
| </ | </ | ||
| + | Estructura de las URLs: | ||
| + | |||
| + | ^Paso ^URL ^Descripción^ | ||
| + | |1 |galgo-telemadrid.galgo.tv/ | ||
| + | |2 |galgo-telemadrid.galgo.tv/ | ||
| + | |3 |Brightcove player |players.brightcove.net/ | ||
| + | |||
| + | Resumen: abre DevTools → Network → filtra por galgo-telemadrid.galgo.tv/ | ||
informatica/linux/video/descargar_videos.1784191669.txt.gz · Last modified: by jose
