GithubHelp home page GithubHelp logo

awesome-archive / syncplaylist Goto Github PK

View Code? Open in Web Editor NEW

This project forked from denon/syncplaylist

0.0 2.0 0.0 11.41 MB

sync playlist between music platform

License: MIT License

Python 100.00%

syncplaylist's Introduction

syncPlaylist

Sync playlist between WY and QQ.

platform

  1. Windows
  2. MacOS
  3. Linux

requirement

  1. beautifulsoup4
  2. requests
  3. selenium

Usage

Step 1: Download the driver

Download phantomjs driver here. Unzip it. So you can find driver is [download_path]/phantomjs-X.X.X/bin/phantomjs. For example: D:/Downloads/phantomjs-2.1.1-windows/bin/phantomjs(windows) or /Users/denon/Downloads/phantomjs-2.1.1-macosx/bin/phantomjs (Linux or Mac OS)

Setp 2: set driver path and input config

  • write the driver absolute path in settings.py.phantomjs_driver_path input account config

  • If you choose WY to QQ:

  1. add your qq account and password in config.json[qq_account, qq_password]
  2. copy 163 playlist url in config.json[wy_playlist_url]
  3. input qq playlist name in config.json[qq_playlist_name]
  4. run python WYtoQQ.py
  • If you choose QQ to WY:
  1. add your wy email account and password in config.json[wy_account, wy_password], currently only support WY email account.
  2. copy qq playlist url in config.json[qq_playlist_url]
  3. input wy user playlist url in config.json[wy_user_playlist_url]
  4. run python QQtoWY.py

If you are not sure how to input the correct url config, please see the screenshot in dir example. Or you can email me.

windows exe

  1. DO #step 1
  2. unzip win32.zip
  3. modify win32/config.json according #Step 2. It's better to visit http but not https, I don't know why it will raise IOError when visit https in windows console.
  4. run win32/run.exe
  5. according the notice, input the driver absolute path and chose sync mode.

debug

you can use chrome driver.

  1. Uncomment line 59 and line 64
  2. download chrome driver
  3. set driver path in settings.py

enhancement

  1. sync music.qq to music.163.

syncplaylist's People

Contributors

denon avatar

Watchers

 avatar  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.