Giter VIP home page Giter VIP logo

python-spotify-playlist-maker's Introduction

Python Spotify Playlist Maker

This is a scraper made with python that uses Selenium to scrape the data from youtube and add makes that playlist in your spotify account

To use this you first need to create a spotify developer account after that

  • create a app from spotify developer page
  • you need to get the client id client secret of your app and your spotify username
  • you need to edit the settings of your app and add there redirect URI to http://127.0.0.1:8000/
  • this project depends upon the firefox browser so it won't work with others

Installation

you need python 3.6+ installed
pip install selenium
you also need gecko driver installed in your pc

Demo

spotify_instance = SpotifyPlaylistMaker(username, client_id, client_secret)
spotify_instance.create_playlist(playlist_name , public=True)
spotify_instance.add_songs_to_playlist()
  • It's not my fault that if songs don't get added to your playlist . This is probably because of Spotify's search did not recognized your song title which lead to the song not getting added to the play list . This issue will happen in most cases since the song title in YouTube and spotify are miss matched or the song is not available on Spotify

python-spotify-playlist-maker's People

Contributors

neeraj319 avatar

Stargazers

 avatar

Watchers

 avatar

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.