├── .gitignore ├── LICENSE ├── settings.py ├── tests ├── resources │ ├── search_1.html │ ├── search_1_files │ │ ├── 1.jpg │ │ ├── 1.png │ │ ├── 1_002.jpg │ │ ├── 1_002.png │ │ ├── 1_003.jpg │ │ ├── 1_003.png │ │ ├── 1_004.png │ │ ├── a.html │ │ ├── base.js │ │ ├── cbgapi.loaded_0 │ │ ├── cbgapi.loaded_1 │ │ ├── cbgapi.loaded_2 │ │ ├── hqdefault.jpg │ │ ├── hqdefault_002.jpg │ │ ├── hqdefault_003.jpg │ │ ├── hqdefault_004.jpg │ │ ├── hqdefault_005.jpg │ │ ├── hqdefault_006.jpg │ │ ├── hqdefault_007.jpg │ │ ├── pixel-vfl3z5WfW.gif │ │ ├── postmessageRelay.html │ │ ├── postmessageRelay_data │ │ │ ├── 75729278-postmessagerelay.js │ │ │ ├── cbgapi.loaded_0 │ │ │ └── rpcshindig_random.js │ │ ├── proxy.html │ │ ├── proxy_data │ │ │ └── cbgapi.loaded_0 │ │ ├── remote.js │ │ ├── scheduler.js │ │ ├── spf.js │ │ ├── www-core-vflY1kOL1.css │ │ ├── www-guide-vflJNC8Id.css │ │ ├── www-home-c4-vfle8AAfI.css │ │ ├── www-pageframe-vflbdj0ky.css │ │ ├── www-pageframedelayloaded-vflHDrOLo.css │ │ ├── www-player-vflXLV92R.css │ │ ├── www-results-vfl1wM4R7.css │ │ └── www-search-ads.js │ ├── search_2.html │ ├── search_3.html │ └── search_4.html └── test_video_search.py └── youtube ├── __init__.py ├── decorators.py ├── exceptions.py ├── humanizer.py ├── play.py ├── search.py ├── selector_helper.py └── utils.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/LICENSE -------------------------------------------------------------------------------- /settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/settings.py -------------------------------------------------------------------------------- /tests/resources/search_1.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1.html -------------------------------------------------------------------------------- /tests/resources/search_1_files/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/1.jpg -------------------------------------------------------------------------------- /tests/resources/search_1_files/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/1.png -------------------------------------------------------------------------------- /tests/resources/search_1_files/1_002.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/1_002.jpg -------------------------------------------------------------------------------- /tests/resources/search_1_files/1_002.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/1_002.png -------------------------------------------------------------------------------- /tests/resources/search_1_files/1_003.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/1_003.jpg -------------------------------------------------------------------------------- /tests/resources/search_1_files/1_003.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/1_003.png -------------------------------------------------------------------------------- /tests/resources/search_1_files/1_004.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/1_004.png -------------------------------------------------------------------------------- /tests/resources/search_1_files/a.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/a.html -------------------------------------------------------------------------------- /tests/resources/search_1_files/base.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/base.js -------------------------------------------------------------------------------- /tests/resources/search_1_files/cbgapi.loaded_0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/cbgapi.loaded_0 -------------------------------------------------------------------------------- /tests/resources/search_1_files/cbgapi.loaded_1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/cbgapi.loaded_1 -------------------------------------------------------------------------------- /tests/resources/search_1_files/cbgapi.loaded_2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/cbgapi.loaded_2 -------------------------------------------------------------------------------- /tests/resources/search_1_files/hqdefault.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/hqdefault.jpg -------------------------------------------------------------------------------- /tests/resources/search_1_files/hqdefault_002.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/hqdefault_002.jpg -------------------------------------------------------------------------------- /tests/resources/search_1_files/hqdefault_003.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/hqdefault_003.jpg -------------------------------------------------------------------------------- /tests/resources/search_1_files/hqdefault_004.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/hqdefault_004.jpg -------------------------------------------------------------------------------- /tests/resources/search_1_files/hqdefault_005.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/hqdefault_005.jpg -------------------------------------------------------------------------------- /tests/resources/search_1_files/hqdefault_006.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/hqdefault_006.jpg -------------------------------------------------------------------------------- /tests/resources/search_1_files/hqdefault_007.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/hqdefault_007.jpg -------------------------------------------------------------------------------- /tests/resources/search_1_files/pixel-vfl3z5WfW.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/pixel-vfl3z5WfW.gif -------------------------------------------------------------------------------- /tests/resources/search_1_files/postmessageRelay.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/postmessageRelay.html -------------------------------------------------------------------------------- /tests/resources/search_1_files/postmessageRelay_data/75729278-postmessagerelay.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/postmessageRelay_data/75729278-postmessagerelay.js -------------------------------------------------------------------------------- /tests/resources/search_1_files/postmessageRelay_data/cbgapi.loaded_0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/postmessageRelay_data/cbgapi.loaded_0 -------------------------------------------------------------------------------- /tests/resources/search_1_files/postmessageRelay_data/rpcshindig_random.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/postmessageRelay_data/rpcshindig_random.js -------------------------------------------------------------------------------- /tests/resources/search_1_files/proxy.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/proxy.html -------------------------------------------------------------------------------- /tests/resources/search_1_files/proxy_data/cbgapi.loaded_0: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/proxy_data/cbgapi.loaded_0 -------------------------------------------------------------------------------- /tests/resources/search_1_files/remote.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/remote.js -------------------------------------------------------------------------------- /tests/resources/search_1_files/scheduler.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/scheduler.js -------------------------------------------------------------------------------- /tests/resources/search_1_files/spf.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/spf.js -------------------------------------------------------------------------------- /tests/resources/search_1_files/www-core-vflY1kOL1.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/www-core-vflY1kOL1.css -------------------------------------------------------------------------------- /tests/resources/search_1_files/www-guide-vflJNC8Id.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/www-guide-vflJNC8Id.css -------------------------------------------------------------------------------- /tests/resources/search_1_files/www-home-c4-vfle8AAfI.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/www-home-c4-vfle8AAfI.css -------------------------------------------------------------------------------- /tests/resources/search_1_files/www-pageframe-vflbdj0ky.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/www-pageframe-vflbdj0ky.css -------------------------------------------------------------------------------- /tests/resources/search_1_files/www-pageframedelayloaded-vflHDrOLo.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/www-pageframedelayloaded-vflHDrOLo.css -------------------------------------------------------------------------------- /tests/resources/search_1_files/www-player-vflXLV92R.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/www-player-vflXLV92R.css -------------------------------------------------------------------------------- /tests/resources/search_1_files/www-results-vfl1wM4R7.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/www-results-vfl1wM4R7.css -------------------------------------------------------------------------------- /tests/resources/search_1_files/www-search-ads.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_1_files/www-search-ads.js -------------------------------------------------------------------------------- /tests/resources/search_2.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_2.html -------------------------------------------------------------------------------- /tests/resources/search_3.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_3.html -------------------------------------------------------------------------------- /tests/resources/search_4.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/resources/search_4.html -------------------------------------------------------------------------------- /tests/test_video_search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/tests/test_video_search.py -------------------------------------------------------------------------------- /youtube/__init__.py: -------------------------------------------------------------------------------- 1 | """Module containing all interactions related to YouTube.""" 2 | -------------------------------------------------------------------------------- /youtube/decorators.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/youtube/decorators.py -------------------------------------------------------------------------------- /youtube/exceptions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/youtube/exceptions.py -------------------------------------------------------------------------------- /youtube/humanizer.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/youtube/humanizer.py -------------------------------------------------------------------------------- /youtube/play.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/youtube/play.py -------------------------------------------------------------------------------- /youtube/search.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/youtube/search.py -------------------------------------------------------------------------------- /youtube/selector_helper.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/youtube/selector_helper.py -------------------------------------------------------------------------------- /youtube/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/iluxonchik/youtube-tor-view-bot/HEAD/youtube/utils.py --------------------------------------------------------------------------------