syncPlaylist
Sync playlist between WY and QQ.
platform
- Windows
- MacOS
- Linux
requirement
- beautifulsoup4
- requests
- 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:
- add your qq account and password in
config.json
[qq_account, qq_password] - copy 163 playlist url in
config.json
[wy_playlist_url] - input qq playlist name in
config.json
[qq_playlist_name] - run
python WYtoQQ.py
- If you choose QQ to WY:
- add your wy email account and password in
config.json
[wy_account, wy_password], currently only support WY email account. - copy qq playlist url in
config.json
[qq_playlist_url] - input wy user playlist url in
config.json
[wy_user_playlist_url] - 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
- DO #step 1
- unzip win32.zip
- 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. - run
win32/run.exe
- according the notice, input the driver absolute path and chose sync mode.
debug
you can use chrome driver.
- Uncomment line 59 and line 64
- download chrome driver
- set driver path in
settings.py
enhancement
- sync music.qq to music.163.