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.

Files for ccacb, version 0.6.9
Filename, size File type Python version Upload date Hashes
Filename, size ccacb-0.6.9-py3-none-any.whl (3.3 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size ccacb-0.6.9.tar.gz (2.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page