Code Monkey home page Code Monkey logo

youfy's Introduction

Youfy

Youfy is a simple Python project that will gather your YouTube playlist content and in a dummy way will try to convert it to Spotify playlist. This script is based on youtube-dl and Spotipy. Big thanks to Michał for his contribution!

Prequietes

  • Spotify account and API credentials

Usage

  1. Prepare Python Virtual Environment
virtualenv venv
source venv/bin/activate
pip install -r requirements.cfg
  1. Fulfil all config data that is stored in one YAML file called config_data.yaml.

Necessary, default config values:

  • scope: playlist-modify-public
  • trace: False

Values to be fulfilled:

  • username - Spotify user name
  • client_id - Private client ID obtained from Spotify API
  • client_secret - Private client secret number
  • redirect_uri - Your configured redirect URI (e.g. http://localhost/)
  • market - An ISO 3166-1 alpha-2 country code (e.g. PL)
  • playlist_name - Future Spotify playlist name
  • playlist_description - Future Spotify playlist description
  • youtube_playlist_id - YouTube playlist ID
  1. Run Youfy main script
python youfy.py

Be aware of notice below:

User authentication requires interaction with your
web browser. Once you enter your credentials and
give authorization, you will be redirected to
a url. Paste that url you were directed to to
complete the authorization.

Note

This project is no longer maintained.

youfy's People

Contributors

akubala avatar

Stargazers

Scott avatar Marcin Usielski avatar Michal Ernst 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.