From bda0ed6dbd4e80d720ded2b48f621750c4416fd6 Mon Sep 17 00:00:00 2001 From: Shail Shouryya Date: Sun, 24 Nov 2019 17:00:28 -0800 Subject: [PATCH] 0.2.11 - adds Selenium dependency setup for Opera browser --- setup.py | 2 +- yt_videos_list/__init__.py | 4 +- yt_videos_list/output.py | 122 ++++++++++++++++++++++++------------- 3 files changed, 83 insertions(+), 45 deletions(-) diff --git a/setup.py b/setup.py index 8aa4b79f..568d7dae 100644 --- a/setup.py +++ b/setup.py @@ -6,7 +6,7 @@ setup( name='yt_videos_list', - version='0.2.10', + version='0.2.11', description='Python package to extract YouTube video titles and corresponding URLs for a specific channel', long_description=long_description, long_description_content_type='text/markdown', diff --git a/yt_videos_list/__init__.py b/yt_videos_list/__init__.py index 639e4e17..659c4368 100644 --- a/yt_videos_list/__init__.py +++ b/yt_videos_list/__init__.py @@ -1,6 +1,6 @@ from yt_videos_list.__main__ import ListGenerator ''' -version: 0.2.10 +version: 0.2.11 author: Shail-Shouryya development_status: 4 - Beta intended_audience: Developers, Hobbyists @@ -8,7 +8,7 @@ ideal_python_version: Python 3.7 source: https://github.com/Shail-Shouryya/yt_videos_list ''' -__version__ = "0.2.10" +__version__ = "0.2.11" __author__ = 'Shail-Shouryya' __development_status__ = '4 - Beta' __intended_audience__ = 'Developers, Hobbyists' diff --git a/yt_videos_list/output.py b/yt_videos_list/output.py index 40807b21..ddd6f298 100644 --- a/yt_videos_list/output.py +++ b/yt_videos_list/output.py @@ -41,58 +41,96 @@ class Common: }, 'opera': { 'macos' : [ - '# mac64 Operadriver 78.0.3904.87 (supports Opera Stable 65)' - '# mac64 Operadriver ' - 'curl -SL https://github.com/operasoftware/operachromiumdriver/releases/download/v.77.0.3865.120/operadriver_mac64.zip | tar -xzvf - -C /usr/local/bin --strip-components=1 && rm /usr/local/bin/sha512_sum', - '# mac64 Operadriver ', - - '# mac64 Operadriver ', - '# mac64 Operadriver ', - '# mac64 Operadriver ', - '# mac64 Operadriver ', - '# mac64 Operadriver ', - '# mac64 Operadriver ', - '# mac64 Operadriver ', + '# mac64 Operadriver 78.0.3904.87 (supports Opera Stable 65 release)' + 'curl -SL https://github.com/operasoftware/operachromiumdriver/releases/download/v.78.0.3904.87/operadriver_mac64.zip | tar -xzvf - -C /usr/local/bin && rm /usr/local/bin/sha512_sum \n', + '# mac64 Operadriver 77.0.3865.120 (supports Opera 64 release)' + 'curl -SL https://github.com/operasoftware/operachromiumdriver/releases/download/v.77.0.3865.120/operadriver_mac64.zip | tar -xzvf - -C /usr/local/bin --strip-components=1 && rm /usr/local/bin/sha512_sum \n', + '# mac64 Operadriver 76.0.3809.132 (supports Opera 63 release)', + 'curl -SL https://github.com/operasoftware/operachromiumdriver/releases/download/v.76.0.3809.132/operadriver_mac64.zip | tar -xzvf - -C /usr/local/bin && rm /usr/local/bin/sha512_sum \n', + '# mac64 Operadriver 75.0.3770.100 (supports Opera 62 release)', + 'curl -SL https://github.com/operasoftware/operachromiumdriver/releases/download/v.75.0.3770.100/operadriver_mac64.zip | tar -xzvf - -C /usr/local/bin && rm /usr/local/bin/sha512_sum \n', + '# mac64 Operadriver 2.45 (supports Opera 60 release)', + 'curl -SL https://github.com/operasoftware/operachromiumdriver/releases/download/v.2.45/operadriver_mac64.zip | tar -xzvf - -C /usr/local/bin && rm /usr/local/bin/sha512_sum \n', + '# mac64 Operadriver 2.42 (supports Opera 58 release)', + 'curl -SL https://github.com/operasoftware/operachromiumdriver/releases/download/v.2.42/operadriver_mac64.zip | tar -xzvf - -C /usr/local/bin && rm /usr/local/bin/sha512_sum \n', + '# mac64 Operadriver 2.41 (supports Opera 57 release)', + 'curl -SL https://github.com/operasoftware/operachromiumdriver/releases/download/v.2.41/operadriver_mac64.zip | tar -xzvf - -C /usr/local/bin && rm /usr/local/bin/sha512_sum \n', + '# mac64 Operadriver 2.40 (supports Opera 56 release)', + 'curl -SL https://github.com/operasoftware/operachromiumdriver/releases/download/v.2.40/operadriver_mac64.zip | tar -xzvf - -C /usr/local/bin && rm /usr/local/bin/sha512_sum \n', + '# mac64 Operadriver 2.38 (supports Opera 55 release)', + 'curl -SL https://github.com/operasoftware/operachromiumdriver/releases/download/v.2.38/operadriver_mac64.zip | tar -xzvf - -C /usr/local/bin && rm /usr/local/bin/sha512_sum \n', + '# mac64 Operadriver 2.37 (supports Opera 54 release)', + 'curl -SL https://github.com/operasoftware/operachromiumdriver/releases/download/v.2.37/operadriver_mac64.zip | tar -xzvf - -C /usr/local/bin && rm /usr/local/bin/sha512_sum \n', f'{operadriverInfo}', f'{terminalCopyPasteDirections}' ], 'linux': [ - '# linux64 Operadriver 78.0.3904.87 (supports Opera Stable 65)', - '# linux64 Operadriver', - '# linux64 Operadriver', - '# linux64 Operadriver', - '# linux64 Operadriver', - '# linux64 Operadriver', - '# linux64 Operadriver', - '# linux64 Operadriver', - '# linux64 Operadriver', - '# linux64 Operadriver', + '# linux64 Operadriver 78.0.3904.87 (supports Opera Stable 65 release)', + 'curl -SL https://github.com/operasoftware/operachromiumdriver/releases/download/v.78.0.3904.87/operadriver_linux64.zip | tar -xzvf - -C /usr/local/bin && rm /usr/local/bin/sha512_sum \n', + '# linux64 Operadriver 77.0.3865.120 (supports Opera 64 release)', + 'curl -SL https://github.com/operasoftware/operachromiumdriver/releases/download/v.77.0.3865.120/operadriver_linux64.zip | tar -xzvf - -C /usr/local/bin && rm /usr/local/bin/sha512_sum \n', + '# linux64 Operadriver 76.0.3809.132 (supports Opera 63 release)', + 'curl -SL https://github.com/operasoftware/operachromiumdriver/releases/download/v.76.0.3809.132/operadriver_linux64.zip | tar -xzvf - -C /usr/local/bin && rm /usr/local/bin/sha512_sum \n', + '# linux64 Operadriver 75.0.3770.100 (supports Opera 62) release', + 'curl -SL https://github.com/operasoftware/operachromiumdriver/releases/download/v.75.0.3770.100/operadriver_linux64.zip | tar -xzvf - -C /usr/local/bin && rm /usr/local/bin/sha512_sum \n', + '# linux64 Operadriver 2.45 (supports Opera 60 release)', + 'curl -SL https://github.com/operasoftware/operachromiumdriver/releases/download/v.2.45/operadriver_linux64.zip | tar -xzvf - -C /usr/local/bin && rm /usr/local/bin/sha512_sum \n', + '# linux64 Operadriver 2.42 (supports Opera 58 release)', + 'curl -SL https://github.com/operasoftware/operachromiumdriver/releases/download/v.2.42/operadriver_linux64.zip | tar -xzvf - -C /usr/local/bin && rm /usr/local/bin/sha512_sum \n', + '# linux64 Operadriver 2.41 (supports Opera 57) release', + 'curl -SL https://github.com/operasoftware/operachromiumdriver/releases/download/v.2.41/operadriver_linux64.zip | tar -xzvf - -C /usr/local/bin && rm /usr/local/bin/sha512_sum \n', + '# linux64 Operadriver 2.40 (supports Opera 56 release)', + 'curl -SL https://github.com/operasoftware/operachromiumdriver/releases/download/v.2.40/operadriver_linux64.zip | tar -xzvf - -C /usr/local/bin && rm /usr/local/bin/sha512_sum \n', + '# linux64 Operadriver 2.38 (supports Opera 55 release)', + 'curl -SL https://github.com/operasoftware/operachromiumdriver/releases/download/v.2.38/operadriver_linux64.zip | tar -xzvf - -C /usr/local/bin && rm /usr/local/bin/sha512_sum \n', + '# linux64 Operadriver 2.37 (supports Opera 54 release)', + 'curl -SL https://github.com/operasoftware/operachromiumdriver/releases/download/v.2.37/operadriver_linux64.zip | tar -xzvf - -C /usr/local/bin && rm /usr/local/bin/sha512_sum \n', f'{operadriverInfo}' f'{terminalCopyPasteDirections}' ], 'windows': [ 'In progress!', - '# windows64 Operadriver 78.0.3904.87 (supports Opera Stable 65)', - '# windows64 Operadriver', - '# windows64 Operadriver', - '# windows64 Operadriver', - '# windows64 Operadriver', - '# windows64 Operadriver', - '# windows64 Operadriver', - '# windows64 Operadriver', - '# windows64 Operadriver', - '# windows64 Operadriver', - '# windows32 Operadriver 78.0.3904.87 (supports Opera Stable 65)', - '# windows32 Operadriver', - '# windows32 Operadriver', - '# windows32 Operadriver', - '# windows32 Operadriver', - '# windows32 Operadriver', - '# windows32 Operadriver', - '# windows32 Operadriver', - '# windows32 Operadriver', - '# windows32 Operadriver', + '# windows64 Operadriver 78.0.3904.87 (supports Opera Stable 65 release)', + 'https://github.com/operasoftware/operachromiumdriver/releases/download/v.78.0.3904.87/operadriver_win64.zip \n', + '# windows64 Operadriver 77.0.3865.120 (supports Opera 64 release)', + 'https://github.com/operasoftware/operachromiumdriver/releases/download/v.77.0.3865.120/operadriver_win64.zip \n', + '# windows64 Operadriver 76.0.3809.132 (supports Opera 63 release)', + 'https://github.com/operasoftware/operachromiumdriver/releases/download/v.76.0.3809.132/operadriver_win64.zip \n', + '# windows64 Operadriver 75.0.3770.100 (supports Opera 62 release)', + 'https://github.com/operasoftware/operachromiumdriver/releases/download/v.75.0.3770.100/operadriver_win64.zip \n', + '# windows64 Operadriver 2.45 (supports Opera 60 release)', + 'https://github.com/operasoftware/operachromiumdriver/releases/download/v.2.45/operadriver_win64.zip \n', + '# windows64 Operadriver 2.42 (supports Opera 58 release)', + 'https://github.com/operasoftware/operachromiumdriver/releases/download/v.2.42/operadriver_win64.zip \n', + '# windows64 Operadriver 2.41 (supports Opera 57 release)', + 'https://github.com/operasoftware/operachromiumdriver/releases/download/v.2.41/operadriver_win64.zip \n', + '# windows64 Operadriver 2.40 (supports Opera 56 release)', + 'https://github.com/operasoftware/operachromiumdriver/releases/download/v.2.40/operadriver_win64.zip \n', + '# windows64 Operadriver 2.38 (supports Opera 55 release)', + 'https://github.com/operasoftware/operachromiumdriver/releases/download/v.2.38/operadriver_win64.zip \n', + '# windows64 Operadriver 2.37 (supports Opera 54 release)', + 'https://github.com/operasoftware/operachromiumdriver/releases/download/v.2.37/operadriver_win64.zip \n\n', + '# windows32 Operadriver 78.0.3904.87 (supports Opera Stable 65 release)', + 'https://github.com/operasoftware/operachromiumdriver/releases/download/v.78.0.3904.87/operadriver_win32.zip \n', + '# windows32 Operadriver 77.0.3865.120 (supports Opera 64 release)', + 'https://github.com/operasoftware/operachromiumdriver/releases/download/v.77.0.3865.120/operadriver_win32.zip \n', + '# windows32 Operadriver 76.0.3809.132 (supports Opera 63 release)', + 'https://github.com/operasoftware/operachromiumdriver/releases/download/v.76.0.3809.132/operadriver_win32.zip \n', + '# windows32 Operadriver 75.0.3770.100 (supports Opera 62 release)', + 'https://github.com/operasoftware/operachromiumdriver/releases/download/v.75.0.3770.100/operadriver_win32.zip \n', + '# windows32 Operadriver 2.45 (supports Opera 60) release', + 'https://github.com/operasoftware/operachromiumdriver/releases/download/v.2.45/operadriver_win32.zip \n', + '# windows32 Operadriver 2.42 (supports Opera 58 release)', + 'https://github.com/operasoftware/operachromiumdriver/releases/download/v.2.42/operadriver_win32.zip \n', + '# windows32 Operadriver 2.41 (supports Opera 57 release)', + 'https://github.com/operasoftware/operachromiumdriver/releases/download/v.2.41/operadriver_win32.zip \n', + '# windows32 Operadriver 2.40 (supports Opera 56 release)', + 'https://github.com/operasoftware/operachromiumdriver/releases/download/v.2.40/operadriver_win32.zip \n', + '# windows32 Operadriver 2.38 (supports Opera 55 release)', + 'https://github.com/operasoftware/operachromiumdriver/releases/download/v.2.38/operadriver_win32.zip \n', + '# windows32 Operadriver 2.37 (supports Opera 54 release)', + 'https://github.com/operasoftware/operachromiumdriver/releases/download/v.2.37/operadriver_win32.zip \n', f'{operadriverInfo}' ] },