Skip to main content

Downloads and updates local copies of YouTube Playlists

Project description

youtube-playman

. license

Downloads and updates local copies of YouTube Playlists

A simple yet powerful script to download and manage local copies of youtube music playlists

Setup

Linux:

Cloning the repository:

#clone the repo
$git clone https://github.com/animesh-chouhan/yt-comment-scraper.git
$cd youtube-playman

Running the script:

#run the script directly
$chmod +x ./download.sh
$./download.sh

OR

#create a hard link to the local binary folder
#this will add the downloader to the path variable 
$ln ./download.sh ~/.local/bin/download

#directly running the script
$download

Add Jobs To cron:

#creating a cron job that will update the playlists automatically
$crontab -e

#this will open a editor and add this entry to the file
#don't forget the newline after the last entry

PATH="/usr/local/bin:/usr/bin:/bin:/home/<YOUR-USERNAME>/.local/bin"
@daily printf "update-all" | download

For more details refer to ubuntu cron wiki.

Usage example

Click on the play button to see an example download.

For more examples and usage, please refer to the Wiki.

Built With

  • youtube-dl - Command-line program to download videos from YouTube

Contributing

  1. Fork the repo (https://github.com/animesh-chouhan/youtube-playman/)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

License

MIT License copyright (c) 2020 Animesh Singh Chouhan. Please have a look at the license for more details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

youtube-playman-1.0.1.tar.gz (4.1 kB view hashes)

Uploaded Source

Built Distribution

youtube_playman-1.0.1-py3-none-any.whl (4.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page