Skip to main content

Watches the clipboard for youtube urls and downloads them

Project description

ytcb

Watches the clipboard for youtube urls and downloads them.

Will now auto-update youtube-dl on startup

install

from pypi:

python3 -m pip install ccacb --user --upgrade

from the repo (requires poetry):

git clone https://github.com/ccdale/ccacb.git
cd ccacb
poetry install
poetry build
python3 -m pip install dist/ccacb-0.6.6-py3-none-any.whl --user --upgrade

config

edit ~/.config/ytcb.yaml

---
youtubedl: /home/chris/bin/youtube-dl
incoming: /home/chris/Videos

example

$ ytcb
08/05/2020 13:47:55 [INFO ]  ytcb - youtube-dl clipboard queue processor 0.6.3
08/05/2020 13:47:55 [INFO ]  reading /home/chris/.config/ytcb.yaml
08/05/2020 13:47:55 [INFO ]  Using /home/chris/bin/youtube-dl
08/05/2020 13:47:55 [INFO ]  youtube-dl will store files in /home/chris/Videos/kmedia/incoming

<CTRL>-c

08/05/2020 13:48:11 [INFO ]  Interrupted: Will finish off the Q, then exit
08/05/2020 13:48:12 [INFO ]  ytcb has finished

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

ccacb-0.6.10.tar.gz (2.9 kB view hashes)

Uploaded Source

Built Distribution

ccacb-0.6.10-py3-none-any.whl (3.3 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