Coder Social home page Coder Social logo

descargarcanciones's Introduction

descargarCanciones

Select Language

English

Español

My wedding is in a few months and the restaurant I'm celebrating, needs me to give them a usb drive with all the songs whose I want to party. So, after years of paying for Spotify subscription, i decided to use "my right to listen to music" with this little script after I've tryed to download it from all over internet and not been able to download any music.

This script does not want to let people do any illegal actions, but to give them some tools to work with YouTube. Any illegal use of my script is not my responsibility.

First, and logically, you need to have python installed. Later, make sure you have pip installed.

To make sure you have all seted up, execute this two commands on a CDM

python -version

You should have an output like this

Python 3.8.10

Any version above this is also valid.


To make sure you have pip installed, try this command

pip -V (make sure the V is uppercase)

You should have an output like this.

pip 22.1.2 from (...)


After this, you can install the three libraries needed with this two commands:

pip install youtube_dl

pip install easygui

pip install colorama

You'll need:

  • One folder to save all your songs
  • CSV file with any header, only one column and all the urls, listed and separated with \r\n

The csv file must have only 1 column and have a header with any name on it

The urls must have only the url to make it work

Me caso en unos meses y el restaurante donde vamos a celebrar el combite, me pedía un pincho usb para poder poner la música. Así que después de haber pagado durante años una suscripción a Spotify, decidí que podía descargarme toda la música por la que estoy pagando para este día, porque me pasé una tarde entera intentando descargar música de internet sin haberlo conseguido.

Este script no pregente dejar a la gente hacer nada ilegal, sino darles herramientras para trabajar con YouTube. Cualquier acción ilegal que se haga con este script no será mi responsabilidad.

Proimero, y lógicamente, necesitarás instalar python. Después, asegurate de instalar pip

Para asegurarte de que todo está correcto, puedes ejecutar esto:

python -version

Deberías tener algo así

Python 3.8.10

Cualquier versión sobre esta, será válida


Para asegurarte de que tienes pip instalado, ejecuta este comando:

pip -V (asegurate de que la V es mayúscula)

Deberías ver algo así

pip 22.1.2 from (...)


Después de esto, ya puedes instalar las tres librerías necesarias para el programa con los siguientes comandos:

pip install youtube_dl

pip install easygui

pip install colorama

Necesitarás:

  • Una carpeta para descargar todas tus canciones
  • Un fichero CSV con una cabecera cualquiera y las canciones separadas por saltos de carro o \r\n

El fichero CSV debe tener únicamente una columna y esa columna solo contener las url

Las url únicamente pueden tener eso, no pueden tener otro valor

descargarcanciones's People

Contributors

ldbl1 avatar

Watchers

 avatar

descargarcanciones's Issues

Error contador canciones descargadas

En la release 0.1 se detecta que hay un +1 en el contador de canciones descargadas, además de que no se registran las canciones erroneas.
Habría que revisar los contadores y los mensajes que corresponden a los contadores.
El exe se sube conociendo este error, ya que al no ser un error funcional, el programita hace el trabajo correctamente, aunque el reporte que lanza al final no sea del todo correcto.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.