%global _empty_manifest_terminate_build 0 Name: python-chat-downloader Version: 0.2.5 Release: 1 Summary: A simple tool used to retrieve chat messages from livestreams, videos, clips and past broadcasts. No authentication needed! License: MIT license URL: https://github.com/xenova/chat-downloader Source0: https://mirrors.nju.edu.cn/pypi/web/packages/91/60/a27e17c8503b994006a4d3ece28997c323979b24a7d991513d7b76d9f245/chat-downloader-0.2.5.tar.gz BuildArch: noarch Requires: python3-requests Requires: python3-isodate Requires: python3-docstring-parser Requires: python3-colorlog Requires: python3-websocket-client Requires: python3-flake8 Requires: python3-twine Requires: python3-wheel Requires: python3-tox Requires: python3-pytest Requires: python3-coverage Requires: python3-sphinx Requires: python3-sphinx-rtd-theme Requires: python3-sphinxcontrib-programoutput %description usage: chat_downloader [-h] [--version] [--start_time START_TIME] [--end_time END_TIME] [--message_types MESSAGE_TYPES | --message_groups MESSAGE_GROUPS] [--max_attempts MAX_ATTEMPTS] [--retry_timeout RETRY_TIMEOUT] [--interruptible_retry [INTERRUPTIBLE_RETRY]] [--max_messages MAX_MESSAGES] [--inactivity_timeout INACTIVITY_TIMEOUT] [--timeout TIMEOUT] [--format FORMAT] [--format_file FORMAT_FILE] [--chat_type {live,top}] [--ignore IGNORE] [--message_receive_timeout MESSAGE_RECEIVE_TIMEOUT] [--buffer_size BUFFER_SIZE] [--output OUTPUT] [--overwrite [OVERWRITE]] [--sort_keys [SORT_KEYS]] [--indent INDENT] [--pause_on_debug | --exit_on_debug] [--logging {none,debug,info,warning,error,critical} | --testing | --verbose | --quiet] [--cookies COOKIES] [--proxy PROXY] url For example, to save messages from a livestream to a JSON file, you can use: $ chat_downloader https://www.youtube.com/watch?v=jfKfPfyJRdk --output chat.json For a description of these options, as well as advanced command line use-cases and examples, consult the `Command Line Usage `_ page. %package -n python3-chat-downloader Summary: A simple tool used to retrieve chat messages from livestreams, videos, clips and past broadcasts. No authentication needed! Provides: python-chat-downloader BuildRequires: python3-devel BuildRequires: python3-setuptools BuildRequires: python3-pip %description -n python3-chat-downloader usage: chat_downloader [-h] [--version] [--start_time START_TIME] [--end_time END_TIME] [--message_types MESSAGE_TYPES | --message_groups MESSAGE_GROUPS] [--max_attempts MAX_ATTEMPTS] [--retry_timeout RETRY_TIMEOUT] [--interruptible_retry [INTERRUPTIBLE_RETRY]] [--max_messages MAX_MESSAGES] [--inactivity_timeout INACTIVITY_TIMEOUT] [--timeout TIMEOUT] [--format FORMAT] [--format_file FORMAT_FILE] [--chat_type {live,top}] [--ignore IGNORE] [--message_receive_timeout MESSAGE_RECEIVE_TIMEOUT] [--buffer_size BUFFER_SIZE] [--output OUTPUT] [--overwrite [OVERWRITE]] [--sort_keys [SORT_KEYS]] [--indent INDENT] [--pause_on_debug | --exit_on_debug] [--logging {none,debug,info,warning,error,critical} | --testing | --verbose | --quiet] [--cookies COOKIES] [--proxy PROXY] url For example, to save messages from a livestream to a JSON file, you can use: $ chat_downloader https://www.youtube.com/watch?v=jfKfPfyJRdk --output chat.json For a description of these options, as well as advanced command line use-cases and examples, consult the `Command Line Usage `_ page. %package help Summary: Development documents and examples for chat-downloader Provides: python3-chat-downloader-doc %description help usage: chat_downloader [-h] [--version] [--start_time START_TIME] [--end_time END_TIME] [--message_types MESSAGE_TYPES | --message_groups MESSAGE_GROUPS] [--max_attempts MAX_ATTEMPTS] [--retry_timeout RETRY_TIMEOUT] [--interruptible_retry [INTERRUPTIBLE_RETRY]] [--max_messages MAX_MESSAGES] [--inactivity_timeout INACTIVITY_TIMEOUT] [--timeout TIMEOUT] [--format FORMAT] [--format_file FORMAT_FILE] [--chat_type {live,top}] [--ignore IGNORE] [--message_receive_timeout MESSAGE_RECEIVE_TIMEOUT] [--buffer_size BUFFER_SIZE] [--output OUTPUT] [--overwrite [OVERWRITE]] [--sort_keys [SORT_KEYS]] [--indent INDENT] [--pause_on_debug | --exit_on_debug] [--logging {none,debug,info,warning,error,critical} | --testing | --verbose | --quiet] [--cookies COOKIES] [--proxy PROXY] url For example, to save messages from a livestream to a JSON file, you can use: $ chat_downloader https://www.youtube.com/watch?v=jfKfPfyJRdk --output chat.json For a description of these options, as well as advanced command line use-cases and examples, consult the `Command Line Usage `_ page. %prep %autosetup -n chat-downloader-0.2.5 %build %py3_build %install %py3_install install -d -m755 %{buildroot}/%{_pkgdocdir} if [ -d doc ]; then cp -arf doc %{buildroot}/%{_pkgdocdir}; fi if [ -d docs ]; then cp -arf docs %{buildroot}/%{_pkgdocdir}; fi if [ -d example ]; then cp -arf example %{buildroot}/%{_pkgdocdir}; fi if [ -d examples ]; then cp -arf examples %{buildroot}/%{_pkgdocdir}; fi pushd %{buildroot} if [ -d usr/lib ]; then find usr/lib -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/lib64 ]; then find usr/lib64 -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/bin ]; then find usr/bin -type f -printf "/%h/%f\n" >> filelist.lst fi if [ -d usr/sbin ]; then find usr/sbin -type f -printf "/%h/%f\n" >> filelist.lst fi touch doclist.lst if [ -d usr/share/man ]; then find usr/share/man -type f -printf "/%h/%f.gz\n" >> doclist.lst fi popd mv %{buildroot}/filelist.lst . mv %{buildroot}/doclist.lst . %files -n python3-chat-downloader -f filelist.lst %dir %{python3_sitelib}/* %files help -f doclist.lst %{_docdir}/* %changelog * Mon May 15 2023 Python_Bot - 0.2.5-1 - Package Spec generated