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 details)

Uploaded Source

Built Distribution

ccacb-0.6.10-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file ccacb-0.6.10.tar.gz.

File metadata

  • Download URL: ccacb-0.6.10.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.8.2 Linux/5.4.0-29-generic

File hashes

Hashes for ccacb-0.6.10.tar.gz
Algorithm Hash digest
SHA256 2541dbf3a051d25ce210ed4043bbee9146c38fd18aa1303ba7c55ca4e0c4b5b1
MD5 9bf93d6f3222472aeb09c1dd314d767d
BLAKE2b-256 acea12de3008286e146e8323ddc5e1b430cdc28b5c30bac5b0ed64a8cabb72a0

See more details on using hashes here.

File details

Details for the file ccacb-0.6.10-py3-none-any.whl.

File metadata

  • Download URL: ccacb-0.6.10-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.0.5 CPython/3.8.2 Linux/5.4.0-29-generic

File hashes

Hashes for ccacb-0.6.10-py3-none-any.whl
Algorithm Hash digest
SHA256 5fc8ed5eef5644464eb75f754d1bb111f6a5e5ca6ba7b22a6f83e2ef54c2d464
MD5 2f9db63312d06dd80f28d0dd0498364d
BLAKE2b-256 50b28dcc7df3acb63698da2e42eea2bd38d841cc3e7bfddc02bc8bac4fce4e4f

See more details on using hashes here.

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