From 57133f0a1e95b5f9a2fc63778a90e7680936058d Mon Sep 17 00:00:00 2001 From: CoprDistGit Date: Fri, 5 May 2023 04:41:55 +0000 Subject: automatic import of python-selenium-youtube --- .gitignore | 1 + python-selenium-youtube.spec | 255 +++++++++++++++++++++++++++++++++++++++++++ sources | 1 + 3 files changed, 257 insertions(+) create mode 100644 python-selenium-youtube.spec create mode 100644 sources diff --git a/.gitignore b/.gitignore index e69de29..51969cf 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +/selenium_youtube-2.0.29.tar.gz diff --git a/python-selenium-youtube.spec b/python-selenium-youtube.spec new file mode 100644 index 0000000..e1165da --- /dev/null +++ b/python-selenium-youtube.spec @@ -0,0 +1,255 @@ +%global _empty_manifest_terminate_build 0 +Name: python-selenium-youtube +Version: 2.0.29 +Release: 1 +Summary: selenium_youtube +License: MIT License +URL: https://github.com/kkristof200/selenium_youtube +Source0: https://mirrors.nju.edu.cn/pypi/web/packages/80/f6/2b9e35051a1700d80f589d69f50c694be961fe170eeb7c752fff9874fd83/selenium_youtube-2.0.29.tar.gz +BuildArch: noarch + +Requires: python3-beautifulsoup4 +Requires: python3-kcu +Requires: python3-kstopit +Requires: python3-kyoutubescraper +Requires: python3-noraise +Requires: python3-selenium +Requires: python3-selenium-browser +Requires: python3-selenium-chrome +Requires: python3-selenium-firefox +Requires: python3-selenium-uploader-account +Requires: python3-setuptools +Requires: python3-xpath-utils + +%description +# selenium_youtube + +![PyPI - package version](https://img.shields.io/pypi/v/selenium_youtube?logo=pypi&style=flat-square) +![PyPI - license](https://img.shields.io/pypi/l/selenium_youtube?label=package%20license&style=flat-square) +![PyPI - python version](https://img.shields.io/pypi/pyversions/selenium_youtube?logo=pypi&style=flat-square) +![PyPI - downloads](https://img.shields.io/pypi/dm/selenium_youtube?logo=pypi&style=flat-square) + +![GitHub - last commit](https://img.shields.io/github/last-commit/kkristof200/selenium_youtube?style=flat-square) +![GitHub - commit activity](https://img.shields.io/github/commit-activity/m/kkristof200/selenium_youtube?style=flat-square) + +![GitHub - code size in bytes](https://img.shields.io/github/languages/code-size/kkristof200/selenium_youtube?style=flat-square) +![GitHub - repo size](https://img.shields.io/github/repo-size/kkristof200/selenium_youtube?style=flat-square) +![GitHub - lines of code](https://img.shields.io/tokei/lines/github/kkristof200/selenium_youtube?style=flat-square) + +![GitHub - license](https://img.shields.io/github/license/kkristof200/selenium_youtube?label=repo%20license&style=flat-square) + +## Description + +selenium implementation of youtube, which can upload/watch/like/comment/pin comment on videos + +## Install + +~~~~bash +pip install selenium_youtube +# or +pip3 install selenium_youtube +~~~~ + +## Usage + +~~~~python +from selenium_youtube import Youtube + +# pip install selenium_firefox +from selenium_firefox import Firefox +firefox = Firefox() + +# pip install selenium_chrome +from selenium_chrome import Chrome +chrome = Chrome() + +youtube = Youtube( + browser=chrome # or firefox +) + +upload_result = youtube.upload('path_to_video', 'title', 'description', ['tag1', 'tag2']) +~~~~ + +## Dependencies + +[beautifulsoup4](https://pypi.org/project/beautifulsoup4), [kcu](https://pypi.org/project/kcu), [kstopit](https://pypi.org/project/kstopit), [kyoutubescraper](https://pypi.org/project/kyoutubescraper), [noraise](https://pypi.org/project/noraise), [selenium](https://pypi.org/project/selenium), [selenium-browser](https://pypi.org/project/selenium-browser), [selenium-chrome](https://pypi.org/project/selenium-chrome), [selenium-firefox](https://pypi.org/project/selenium-firefox), [selenium-uploader-account](https://pypi.org/project/selenium-uploader-account), [setuptools](https://pypi.org/project/setuptools), [xpath-utils](https://pypi.org/project/xpath-utils) + + + +## Credits + +[Péntek Zsolt](https://github.com/Zselter07) + + +%package -n python3-selenium-youtube +Summary: selenium_youtube +Provides: python-selenium-youtube +BuildRequires: python3-devel +BuildRequires: python3-setuptools +BuildRequires: python3-pip +%description -n python3-selenium-youtube +# selenium_youtube + +![PyPI - package version](https://img.shields.io/pypi/v/selenium_youtube?logo=pypi&style=flat-square) +![PyPI - license](https://img.shields.io/pypi/l/selenium_youtube?label=package%20license&style=flat-square) +![PyPI - python version](https://img.shields.io/pypi/pyversions/selenium_youtube?logo=pypi&style=flat-square) +![PyPI - downloads](https://img.shields.io/pypi/dm/selenium_youtube?logo=pypi&style=flat-square) + +![GitHub - last commit](https://img.shields.io/github/last-commit/kkristof200/selenium_youtube?style=flat-square) +![GitHub - commit activity](https://img.shields.io/github/commit-activity/m/kkristof200/selenium_youtube?style=flat-square) + +![GitHub - code size in bytes](https://img.shields.io/github/languages/code-size/kkristof200/selenium_youtube?style=flat-square) +![GitHub - repo size](https://img.shields.io/github/repo-size/kkristof200/selenium_youtube?style=flat-square) +![GitHub - lines of code](https://img.shields.io/tokei/lines/github/kkristof200/selenium_youtube?style=flat-square) + +![GitHub - license](https://img.shields.io/github/license/kkristof200/selenium_youtube?label=repo%20license&style=flat-square) + +## Description + +selenium implementation of youtube, which can upload/watch/like/comment/pin comment on videos + +## Install + +~~~~bash +pip install selenium_youtube +# or +pip3 install selenium_youtube +~~~~ + +## Usage + +~~~~python +from selenium_youtube import Youtube + +# pip install selenium_firefox +from selenium_firefox import Firefox +firefox = Firefox() + +# pip install selenium_chrome +from selenium_chrome import Chrome +chrome = Chrome() + +youtube = Youtube( + browser=chrome # or firefox +) + +upload_result = youtube.upload('path_to_video', 'title', 'description', ['tag1', 'tag2']) +~~~~ + +## Dependencies + +[beautifulsoup4](https://pypi.org/project/beautifulsoup4), [kcu](https://pypi.org/project/kcu), [kstopit](https://pypi.org/project/kstopit), [kyoutubescraper](https://pypi.org/project/kyoutubescraper), [noraise](https://pypi.org/project/noraise), [selenium](https://pypi.org/project/selenium), [selenium-browser](https://pypi.org/project/selenium-browser), [selenium-chrome](https://pypi.org/project/selenium-chrome), [selenium-firefox](https://pypi.org/project/selenium-firefox), [selenium-uploader-account](https://pypi.org/project/selenium-uploader-account), [setuptools](https://pypi.org/project/setuptools), [xpath-utils](https://pypi.org/project/xpath-utils) + + + +## Credits + +[Péntek Zsolt](https://github.com/Zselter07) + + +%package help +Summary: Development documents and examples for selenium-youtube +Provides: python3-selenium-youtube-doc +%description help +# selenium_youtube + +![PyPI - package version](https://img.shields.io/pypi/v/selenium_youtube?logo=pypi&style=flat-square) +![PyPI - license](https://img.shields.io/pypi/l/selenium_youtube?label=package%20license&style=flat-square) +![PyPI - python version](https://img.shields.io/pypi/pyversions/selenium_youtube?logo=pypi&style=flat-square) +![PyPI - downloads](https://img.shields.io/pypi/dm/selenium_youtube?logo=pypi&style=flat-square) + +![GitHub - last commit](https://img.shields.io/github/last-commit/kkristof200/selenium_youtube?style=flat-square) +![GitHub - commit activity](https://img.shields.io/github/commit-activity/m/kkristof200/selenium_youtube?style=flat-square) + +![GitHub - code size in bytes](https://img.shields.io/github/languages/code-size/kkristof200/selenium_youtube?style=flat-square) +![GitHub - repo size](https://img.shields.io/github/repo-size/kkristof200/selenium_youtube?style=flat-square) +![GitHub - lines of code](https://img.shields.io/tokei/lines/github/kkristof200/selenium_youtube?style=flat-square) + +![GitHub - license](https://img.shields.io/github/license/kkristof200/selenium_youtube?label=repo%20license&style=flat-square) + +## Description + +selenium implementation of youtube, which can upload/watch/like/comment/pin comment on videos + +## Install + +~~~~bash +pip install selenium_youtube +# or +pip3 install selenium_youtube +~~~~ + +## Usage + +~~~~python +from selenium_youtube import Youtube + +# pip install selenium_firefox +from selenium_firefox import Firefox +firefox = Firefox() + +# pip install selenium_chrome +from selenium_chrome import Chrome +chrome = Chrome() + +youtube = Youtube( + browser=chrome # or firefox +) + +upload_result = youtube.upload('path_to_video', 'title', 'description', ['tag1', 'tag2']) +~~~~ + +## Dependencies + +[beautifulsoup4](https://pypi.org/project/beautifulsoup4), [kcu](https://pypi.org/project/kcu), [kstopit](https://pypi.org/project/kstopit), [kyoutubescraper](https://pypi.org/project/kyoutubescraper), [noraise](https://pypi.org/project/noraise), [selenium](https://pypi.org/project/selenium), [selenium-browser](https://pypi.org/project/selenium-browser), [selenium-chrome](https://pypi.org/project/selenium-chrome), [selenium-firefox](https://pypi.org/project/selenium-firefox), [selenium-uploader-account](https://pypi.org/project/selenium-uploader-account), [setuptools](https://pypi.org/project/setuptools), [xpath-utils](https://pypi.org/project/xpath-utils) + + + +## Credits + +[Péntek Zsolt](https://github.com/Zselter07) + + +%prep +%autosetup -n selenium-youtube-2.0.29 + +%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-selenium-youtube -f filelist.lst +%dir %{python3_sitelib}/* + +%files help -f doclist.lst +%{_docdir}/* + +%changelog +* Fri May 05 2023 Python_Bot - 2.0.29-1 +- Package Spec generated diff --git a/sources b/sources new file mode 100644 index 0000000..79322b6 --- /dev/null +++ b/sources @@ -0,0 +1 @@ +7a46afd6873b806884c3f9decb9d0ddd selenium_youtube-2.0.29.tar.gz -- cgit v1.2.3