Watches the clipboard for youtube urls and downloads them
Project description
ytcb
Watches the clipboard for youtube urls and downloads them.
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.7.tar.gz
(2.8 kB
view details)
Built Distribution
ccacb-0.6.7-py3-none-any.whl
(3.1 kB
view details)
File details
Details for the file ccacb-0.6.7.tar.gz
.
File metadata
- Download URL: ccacb-0.6.7.tar.gz
- Upload date:
- Size: 2.8 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 082b426a64c47ebb6ef7205bcdc91454e12b0f0b8798766beae725c2f31d4254 |
|
MD5 | d67b4ca316563294c686017d6d427270 |
|
BLAKE2b-256 | 0e16dda7a415706dd4d51db703b359c99c3be376f057051d6945c2b48bae665b |
Provenance
File details
Details for the file ccacb-0.6.7-py3-none-any.whl
.
File metadata
- Download URL: ccacb-0.6.7-py3-none-any.whl
- Upload date:
- Size: 3.1 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
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2605527d49ce4ec8e7c335a76fcb58e4077ee2832700c85a5beee268a3d649c |
|
MD5 | 59cee28591f866edb5f7524ad4034ffc |
|
BLAKE2b-256 | 1d02e9c6d3ba8eeabfa59be8e7cd2045ed5708d48a7ece0720091f6f0bd6e74e |