diff options
author | CoprDistGit <infra@openeuler.org> | 2023-05-05 04:41:55 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-05-05 04:41:55 +0000 |
commit | 57133f0a1e95b5f9a2fc63778a90e7680936058d (patch) | |
tree | b22a04df730b7259181b828f61b5abbe4135a5e5 | |
parent | 6de167406ca579f933fd8fa868c1e3a988dbcf8d (diff) |
automatic import of python-selenium-youtubeopeneuler20.03
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | python-selenium-youtube.spec | 255 | ||||
-rw-r--r-- | sources | 1 |
3 files changed, 257 insertions, 0 deletions
@@ -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 + + + + + + + + + + + + + + + +## 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 + + + + + + + + + + + + + + + +## 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 + + + + + + + + + + + + + + + +## 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 <Python_Bot@openeuler.org> - 2.0.29-1 +- Package Spec generated @@ -0,0 +1 @@ +7a46afd6873b806884c3f9decb9d0ddd selenium_youtube-2.0.29.tar.gz |