项目作者: sayok88

项目描述 :
Copy your liked youtube music to a playlist
高级语言: Python
项目地址: git://github.com/sayok88/likedmusicyoutube.git
创建时间: 2020-05-24T14:02:47Z
项目社区:https://github.com/sayok88/likedmusicyoutube

开源协议:GNU General Public License v3.0

下载


Transfer your liked YouTube Music playlist to other playlist

Copy your liked YouTube Music to a playlist

Tested with Python>=3.8 and >=3.9

Get started

  1. Run git clone https://github.com/sayok88/likedmusicyoutube.git

  2. Google Cloud Configuration

  3. Open config.ini and edit it for your needs

    • CLIENT_SECRET_FILE is the name of the JSON file you downloaded from step 2
    • DEST_PLAYLIST is the playlist the script will put your liked songs
  4. Run pip3 install -r requirements.txt

  5. Lastly, run python3 main.py to make the transfer process (with ~200 songs limit)

    Or run python3 export-txt.py to just export a txt file with links of your liked YouTube Music, then check playlist.txt with the results

Note

The YouTube-API has a request-limit, so it workes for “only” ~200 Songs per day

The export process of the txt file is not impacted by the YouTube API request limit

Optional

Use venv or not

By default source playlist is Youtube Music Liked playlist
If you need to change that then replace source_play_list default value being LM