Install
-------
Install system av tools
::
% sudo apt-get install -y ffmpeg sox rtmpdump
or
% brew install ffmpeg sox rtmpdump
Install with ``pip``
::
% pip3 install yt-helper
Usage
-----
The ``yt-download`` script is provided
::
% venv/bin/yt-download --help
Usage: yt-download [OPTIONS] [ARGS]...
Wrapper to 'av_from_url'
- args: urls or filenames containing urls
Options:
-o, --template TEXT string representing generated filenames
-h, --max-height INTEGER maximum height of video (i.e. 1080, 720, 480,
240.. default 720)
-p, --playlist Allow downloading entire playlist
-t, --thumbnail Download thumbnail image of video
-d, --description Download description of video to a file
-s, --subtitles Embed subtitles in the downloaded video
-a, --audio-only Don't keep the video file if one was downloaded
-m, --mp3 Convert downloaded audio to MP3 file
-v, --verbose Show extra debugging output
--help Show this message and exit.
Optional Installs
-----------------
Collections/models (QUERIES, URLS, FILES, COMMENTS)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In order to make use of the ``QUERIES``, ``URLS``, ``FILES``, and
``COMMENTS`` collections, you must also install the ``redis-helper``
package and have a Redis server running.
If the collections/models are available, some functions will save
relevant info to them.
See: https://github.com/kenjyco/redis-helper#intro
If you don’t have `docker <https://docs.docker.com/get-docker>`__
installed, install Redis and start server
::
% sudo apt-get install -y redis-server
or
% brew install redis
% brew services start redis
Install with ``pip``
::
% pip3 install redis-helper
Raw data
{
"_id": null,
"home_page": "https://github.com/kenjyco/yt-helper",
"name": "yt-helper",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "youtube-dl,youtube,ffmpeg,sox,rtmpdump,video,audio,cli,command-line,download,helper,kenjyco",
"author": "Ken",
"author_email": "kenjyco@gmail.com",
"download_url": "https://github.com/kenjyco/yt-helper/tarball/v0.2.11",
"platform": null,
"description": "Install\n-------\n\nInstall system av tools\n\n::\n\n % sudo apt-get install -y ffmpeg sox rtmpdump\n\n or\n\n % brew install ffmpeg sox rtmpdump\n\nInstall with ``pip``\n\n::\n\n % pip3 install yt-helper\n\nUsage\n-----\n\nThe ``yt-download`` script is provided\n\n::\n\n % venv/bin/yt-download --help\n Usage: yt-download [OPTIONS] [ARGS]...\n\n Wrapper to 'av_from_url'\n\n - args: urls or filenames containing urls\n\n Options:\n -o, --template TEXT string representing generated filenames\n -h, --max-height INTEGER maximum height of video (i.e. 1080, 720, 480,\n 240.. default 720)\n -p, --playlist Allow downloading entire playlist\n -t, --thumbnail Download thumbnail image of video\n -d, --description Download description of video to a file\n -s, --subtitles Embed subtitles in the downloaded video\n -a, --audio-only Don't keep the video file if one was downloaded\n -m, --mp3 Convert downloaded audio to MP3 file\n -v, --verbose Show extra debugging output\n --help Show this message and exit.\n\nOptional Installs\n-----------------\n\nCollections/models (QUERIES, URLS, FILES, COMMENTS)\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n\nIn order to make use of the ``QUERIES``, ``URLS``, ``FILES``, and\n``COMMENTS`` collections, you must also install the ``redis-helper``\npackage and have a Redis server running.\n\nIf the collections/models are available, some functions will save\nrelevant info to them.\n\n See: https://github.com/kenjyco/redis-helper#intro\n\nIf you don\u2019t have `docker <https://docs.docker.com/get-docker>`__\ninstalled, install Redis and start server\n\n::\n\n % sudo apt-get install -y redis-server\n\n or\n\n % brew install redis\n % brew services start redis\n\nInstall with ``pip``\n\n::\n\n % pip3 install redis-helper\n\n\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Light wrapper to youtube-dl with a simplified CLI for downloading media",
"version": "0.2.11",
"project_urls": {
"Download": "https://github.com/kenjyco/yt-helper/tarball/v0.2.11",
"Homepage": "https://github.com/kenjyco/yt-helper"
},
"split_keywords": [
"youtube-dl",
"youtube",
"ffmpeg",
"sox",
"rtmpdump",
"video",
"audio",
"cli",
"command-line",
"download",
"helper",
"kenjyco"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9610f31c8dc147ed11393c430633c5fcba135a0a9a61fb7a2b194f8b60f60b2d",
"md5": "9ed1b9e99ec227b5893c016b8c6f7d32",
"sha256": "76d5af47879192997cdeced0a09b9cbc77ff0542899f3601e45e0e53f2e754b0"
},
"downloads": -1,
"filename": "yt_helper-0.2.11-py3-none-any.whl",
"has_sig": false,
"md5_digest": "9ed1b9e99ec227b5893c016b8c6f7d32",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 7375,
"upload_time": "2023-07-10T04:45:33",
"upload_time_iso_8601": "2023-07-10T04:45:33.868377Z",
"url": "https://files.pythonhosted.org/packages/96/10/f31c8dc147ed11393c430633c5fcba135a0a9a61fb7a2b194f8b60f60b2d/yt_helper-0.2.11-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-10 04:45:33",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "kenjyco",
"github_project": "yt-helper",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [],
"lcname": "yt-helper"
}