{ "info": { "author": "Dmitry Karikh", "author_email": "the.dr.hax@gmail.com", "bugtrack_url": null, "classifiers": [ "Environment :: Console", "Intended Audience :: End Users/Desktop", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.4", "Topic :: Utilities" ], "description": "# Twitch Chat Downloader\n\nNeat python script to download chat messages from past broadcasts\n\n## Requirements\n\n* [Python 2.7 or 3.4+](https://www.python.org/downloads/)\n* [pip](https://pip.pypa.io/en/stable/installing/)\n* [python-requests](http://docs.python-requests.org/en/master/user/install/)\n\n## Installation and usage\n\nThere are multiple ways to install this script.\n\n```bash\n# Install package with pip\npip3 install tdh-tcd\npython3 -m tcd \n```\n\n```bash\n# Run pip3 as root to install `tcd` for all users (not recommended)\nsudo pip3 install tdh-tcd\ntcd \n```\n\n```bash\n# Start script directly from cloned repository\ngit clone https://github.com/TheDrHax/Twitch-Chat-Downloader.git\ncd Twitch-Chat-Downloader\npip install -r requirements.txt\n\npython -m tcd \n# or ...\npython app.py \n```\n\n## Settings\n\nTo override default options, run `python -m tcd --generate-config` and edit generated `settings.json` or just use console arguments listed below.\n\n| Option | Type | Argument | Description |\n| ------ | ---- | -------- | ----------- |\n| client_id | *str* | `--client-id` | Twitch API Client-ID header. |\n| cooldown | *int* | `--cooldown` | Delay (in milliseconds) between API calls. |\n| display_progress | *bool* | `--[no-]progress` | Display animated progress bar in terminal. |\n| formats | *str[]* | `-f/--formats` | List of formats to download. See Formats table below. |\n| directory | *str* | `-t`/`--directory` | Name of directory to save all generated files. |\n| filename_format | *str* | `--filename-format` | Full format of generated filenames. Possible arguments: `directory`, `video_id` and `format`. |\n| subtitle_duration | *int* | `--subtitle-duration` | Duration (in seconds) of each line of subtitles. |\n| dynamic_duration | *obj* | | Convert `Kappa Kappa Kappa` to `Kappa x3`. |\n| \u2014.enabled | *bool* | `--[no-]dynamic-duration` | Increase subtitle duration based on message length. |\n| \u2014.max | *int* | `--dynamic-duration-max` | Maximum duration of subtitle message. |\n| \u2014.max_length | *int* | `--dynamic-duration-max-length` | Maximum length of subtitle message. |\n| group_repeating_emotes | *obj* | | Convert `Kappa Kappa Kappa` to `Kappa x3`. |\n| \u2014.enabled | *bool* | `--[no-]group` | Enable or disable this function. |\n| \u2014.threshold | *int* | `--group-threshold` | Number of repeating emotes to trigger this function. |\n| \u2014.format | *str* | `--group-format` | Customize format of replaced emotes. |\n| video_types | *str* | `--video-types` | Comma-separated list of VOD types to detect in Channel Mode. (see [broadcast_type](https://dev.twitch.tv/docs/v5/reference/channels/#get-channel-videos)) |\n\n## Formats\n\n| Format | Description |\n| ------ | ----------- |\n| `ass` or `ssa` | Advanced SubStation Alpha |\n| `srt` | SubRip |\n| `irc` | IRC-style log |\n\n## Notes\n\n- Empty messages means the user has been timed out. There's no known way to get these.\n- This script is using Twitch's API v5 that is [deprecated](https://dev.twitch.tv/docs/v5).\n- Consider increasing the delay between API calls in `settings.json` to avoid a potential temporary block from Twitch for sending too many requests when downloading messages from very long streams.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/TheDrHax/Twitch-Chat-Downloader", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "tdh-tcd", "package_url": "https://pypi.org/project/tdh-tcd/", "platform": "", "project_url": "https://pypi.org/project/tdh-tcd/", "project_urls": { "Homepage": "https://github.com/TheDrHax/Twitch-Chat-Downloader" }, "release_url": "https://pypi.org/project/tdh-tcd/2.4/", "requires_dist": [ "requests", "progressbar2" ], "requires_python": "", "summary": "Twitch Chat Downloader", "version": "2.4" }, "last_serial": 5702970, "releases": { "2.4": [ { "comment_text": "", "digests": { "md5": "cd48709cd001530c0f1f4810045eb028", "sha256": "dc51606259d0adae7e679653a3520458861a76fc9f4ea1267b64ecd5a315a001" }, "downloads": -1, "filename": "tdh_tcd-2.4-py3-none-any.whl", "has_sig": false, "md5_digest": "cd48709cd001530c0f1f4810045eb028", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10341, "upload_time": "2019-08-20T12:10:05", "url": "https://files.pythonhosted.org/packages/c2/e8/5cb6f254614af1d53a7d8b526b849f8997e282484e407f4709202572df2e/tdh_tcd-2.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "168174531077c7fe1d44fd39724e3b1e", "sha256": "f91c9c295549722e7d039d77ec9a5b79c2bf79ec99358a99d65ccdf63d37864d" }, "downloads": -1, "filename": "tdh-tcd-2.4.tar.gz", "has_sig": false, "md5_digest": "168174531077c7fe1d44fd39724e3b1e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7765, "upload_time": "2019-08-20T12:10:08", "url": "https://files.pythonhosted.org/packages/53/a7/04d0e24df57a03eb26954d54c50f8f5b717ee24efcbbc994745e2db410c8/tdh-tcd-2.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "cd48709cd001530c0f1f4810045eb028", "sha256": "dc51606259d0adae7e679653a3520458861a76fc9f4ea1267b64ecd5a315a001" }, "downloads": -1, "filename": "tdh_tcd-2.4-py3-none-any.whl", "has_sig": false, "md5_digest": "cd48709cd001530c0f1f4810045eb028", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 10341, "upload_time": "2019-08-20T12:10:05", "url": "https://files.pythonhosted.org/packages/c2/e8/5cb6f254614af1d53a7d8b526b849f8997e282484e407f4709202572df2e/tdh_tcd-2.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "168174531077c7fe1d44fd39724e3b1e", "sha256": "f91c9c295549722e7d039d77ec9a5b79c2bf79ec99358a99d65ccdf63d37864d" }, "downloads": -1, "filename": "tdh-tcd-2.4.tar.gz", "has_sig": false, "md5_digest": "168174531077c7fe1d44fd39724e3b1e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7765, "upload_time": "2019-08-20T12:10:08", "url": "https://files.pythonhosted.org/packages/53/a7/04d0e24df57a03eb26954d54c50f8f5b717ee24efcbbc994745e2db410c8/tdh-tcd-2.4.tar.gz" } ] }