GithubHelp home page GithubHelp logo

javi-aranda / spoti-bot Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 31.9 MB

Bot de Telegram para crawlear enlaces de spotify y crear una playlist colaborativa

Python 99.28% Procfile 0.72%
bot python spotify telegram

spoti-bot's Introduction

👋 Hi, I’m @javi-aranda, crafting software from Málaga, Spain.
  • 👀 I’m mostly interested in Data Engineering and InfoSec topics.
  • 👨‍💻 At the moment I'm developing mostly in Python.
  • 🆕 Technologies I'm currently exploring:
    • Apache Airflow to manage data pipelines.
    • Machine Learning models to improve phishing detection.
    • Data oriented applications powered by Streamlit.
    • Profiling and monitoring tools.

spoti-bot's People

Contributors

javi-aranda avatar

Watchers

 avatar

spoti-bot's Issues

Canción duplicada

Buenas tardes,

Ha de comprobarse si la cancion ya está en la lista avisando el bot de ello.

Un saludo.

Error en el proyecto

Traceback del log de Heroku

2021-05-21T15:46:51.719070+00:00 app[web.1]: ERROR:telegram.ext.dispatcher:No error handlers are registered, logging exception.

2021-05-21T15:46:51.719071+00:00 app[web.1]: Traceback (most recent call last):

2021-05-21T15:46:51.719071+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/telegram/ext/dispatcher.py", line 442, in process_update

2021-05-21T15:46:51.719071+00:00 app[web.1]:     handler.handle_update(update, self, check, context)

2021-05-21T15:46:51.719072+00:00 app[web.1]:   File "/app/.heroku/python/lib/python3.6/site-packages/telegram/ext/handler.py", line 160, in handle_update

2021-05-21T15:46:51.719072+00:00 app[web.1]:     return self.callback(update, context)

2021-05-21T15:46:51.719072+00:00 app[web.1]:   File "bot.py", line 24, in find_and_send_tracks

2021-05-21T15:46:51.719073+00:00 app[web.1]:     api = SpotipyManager()

2021-05-21T15:46:51.719074+00:00 app[web.1]:   File "/app/spotipy_manager.py", line 19, in __init__

2021-05-21T15:46:51.719074+00:00 app[web.1]:     self.sp = spotipy.Spotify(auth=self.get_oauth_token())

2021-05-21T15:46:51.719074+00:00 app[web.1]:   File "/app/spotipy_manager.py", line 48, in get_oauth_token

2021-05-21T15:46:51.719074+00:00 app[web.1]:     token = parse_qs(url.fragment)['access_token'][0]

2021-05-21T15:46:51.719076+00:00 app[web.1]: KeyError: 'access_token'

Opción de votar música

Buenas tardes,

Sería interesante que el bot de alguna forma añadiese un sistema de votaciones.

Este podría ser que al enviar una canción este eliminase ese mensaje para mandarlo el añadiendo el que la ha compartido y un botón con un 🔥 con un contador.

De esta forma nos evitamos la negatividad.

Se podría añadir una top list que aparezca si se le pide al bot.

Un saludo.

Notificaciones del bot al añadir canción en la lista de reproducción

Buenas tardes,

Sería muy interesante que el bot detecte si se añade una canción a la lista de reproducción directamente desde Spotify. De esta forma se pueden usar comandos de voz para añadir la música sin tener que complicarse en mandar el mensaje con el enlace a Telegram.

Se podría revisar que el que añade la canción sea alguien diferente al bot para evitar un bucle infinito.

Un saludo.

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.