https://github.com/cafca/ytmp3
Auto-download YouTube bookmarks as MP3s
https://github.com/cafca/ytmp3
Last synced: 2 months ago
JSON representation
Auto-download YouTube bookmarks as MP3s
- Host: GitHub
- URL: https://github.com/cafca/ytmp3
- Owner: cafca
- License: mit
- Created: 2017-10-04T13:35:30.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-10-06T20:55:26.000Z (over 6 years ago)
- Last Synced: 2025-03-05T00:43:17.350Z (over 1 year ago)
- Language: Python
- Homepage:
- Size: 8.34 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ytmp3
Do you listen to music on YouTube? Do you save your favorites to your browser bookmarks but when you come back to them later they have been deleted?
This script automatically downloads YouTube bookmarks from Chrome to your computer
and turns them into MP3s.
## Usage on Mac
Install dependencies
$ brew install youtube-dl libav
Download and extract the [lastest ytmp3 release](https://github.com/ciex/ytmp3/releases).
Then double-click the `ytmp3` file.
Script will download all links in the `ytmp3` folder in your Chrome bookmark
bar to the folder `~/Music/ytmp3/[year]/[month]/` as mp3 files.
If you get an error that this file is from an unidentified developer, don't let them tell
you what to do! Open *System Preferences*, go to the *Security&Privacy* pane and on the *general*
tab click *open anyway*.
Optional:
Run in the background by changing the line in `crontab` file to point to
your installation directory and pasting it in your crontab with
$ crontab -e
## Environment setup (Mac)
Install deps
$ brew install youtube-dl libav python3 pip
Setup environment and clone repo
$ virtualenv -p python3 ytmp3
$ cd ytmp3
$ source bin/activate
$ git clone https://github.com/ciex/ytmp3 src
$ pip install -r src/requirements.txt
test with
$ python src/ytmp3.py
Adapt and then add the line in the `cronjob` file to your crontab by executing `crontab -e`
## License
See the LICENSE file.
## Contributing
PRs are welcome. Send a message/email if you have questions.