Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.
/ PyYTsync Public archive

Python script for converting a YT playlist to mp3 files and pushing them to another folder for device synchronisation

Notifications You must be signed in to change notification settings

0xARCHIVE/PyYTsync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

PyYTsync

A python script for converting a YouTube playlist to mp3 files and pushing them to another folder for device synchronisation

Requirements

  • python 2.7.12+
  • pip install youtube_dl

Usage

python path/to/file/sync.py -p https://www.youtube.com/playlist?list=PLAYLIST_URL [-l path/to/sync/folder/]

Explanation

The script does the following:

  • downloads all of the videos in the playlist and converts them to mp3 files
  • saves the mp3 files in an output directory (in the same place as the script)
  • if path/to/sync/folder/ is specified, it will also copy all of the mp3 files to the sync folder

My Setup

  • Windows Task Scheduler to automatically run the script at 10pm every night
  • sync folder is a folder in my Dropbox account
  • on my phone I have "Dropsync" installed which will automatically download and delete files from my sync folder when I'm connected to WiFi

About

Python script for converting a YT playlist to mp3 files and pushing them to another folder for device synchronisation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages