https://github.com/jagedn/ivoxx-downloader
https://github.com/jagedn/ivoxx-downloader
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/jagedn/ivoxx-downloader
- Owner: jagedn
- License: mit
- Created: 2021-03-18T20:46:25.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2024-03-14T09:05:26.000Z (over 2 years ago)
- Last Synced: 2025-03-02T16:48:43.134Z (over 1 year ago)
- Language: JavaScript
- Size: 148 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ivoox-download
Extension Firefox para descargar automáticamente podcast desde Ivoox
## Idea
https://twitter.com/ciberado/status/1372229716162252800
https://pastebin.com/raw/AkGicXnF
## Instalar
Buscar la extension "Ivoox Download" en el store de Firefox e instalarlo
## Ivoox
La extensión se activará cuando se detecte que la pestaña actual corresponde al dominio
https://*.ivoox.com
Una vez en la página, la extensión buscará el elemento "Filter" y creará un botón con el texto "Lo quiero todo" que al ser
pulsado descargará todos los podcast de la página (dependiendo de la velocidad de tu conexion tardará más o menos)
```
// Descargar podcasts de ivoox
t = "https://www.ivoox.com/listenembeded_mn_12345678_1.mp3?source=EMBEDEDHTML5";
[...document.querySelectorAll('.title-wrapper a')]
.map(a => ({title : a.innerText, id : a.href.match(/\d{4,8}/g)[0]}))
.map(d => ({...d, href : t.replace('12345678', d.id)}))
.map(d => `curl -L "${d.href}" --output "${d.title.toLowerCase().replace(/ /g, '_')}.m4a"`)
.forEach(c => console.log(c))
```
*NOTA* : para facilitar la descarga automática deshabilita la opción de "Confirmar la descarga de ficheros"
## Build
Para generar el zip con el formato que requiere Chrome hay que ejecutar
`./build.sh`
## Reconocimientos
Gracias a https://github.com/asklepios73 por sus mejoras