bayodev / twitch-best-of Goto Github PK
View Code? Open in Web Editor NEWAutomatically create a best-of video of a channel/category clips without a token.
License: GNU General Public License v3.0
Automatically create a best-of video of a channel/category clips without a token.
License: GNU General Public License v3.0
Traceback (most recent call last):
File "F:\compli\Twitch-Best-Of-Gen-main\Twitch-Best-Of-Gen-main\main.py", line 5, in
from modules.input_handler import *
File "F:\compli\Twitch-Best-Of-Gen-main\Twitch-Best-Of-Gen-main\modules\input_handler.py", line 4, in
from cv2 import fastNlMeansDenoising
ModuleNotFoundError: No module named 'cv2
Hey, could you guide me though process of installing we driver, the docs you linked didn't work, thanks, have a good day/night
[i]Fetching data
Traceback (most recent call last):
File "C:\Users\nikla\Desktop\Twitch-Best-Of-0.0.1\main.py", line 93, in
main()
File "C:\Users\nikla\Desktop\Twitch-Best-Of-0.0.1\main.py", line 54, in main
data = fetch_clips_channel(name,max=nclips,range=range_in)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\nikla\Desktop\Twitch-Best-Of-0.0.1\modules\twitchClips.py", line 132, in fetch_clips_channel
data = bs(get_loaded_page_content(f"https://www.twitch.tv/{channel_name}/clips?filter=clips&range={range}",type='channel'),'html.parser')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\nikla\Desktop\Twitch-Best-Of-0.0.1\modules\twitchClips.py", line 64, in get_loaded_page_content
WebDriverWait(driver,60).until(lambda test : len(driver.find_elements_by_tag_name('article'))!=0)
File "C:\Users\nikla\AppData\Local\Programs\Python\Python311\Lib\site-packages\selenium\webdriver\support\wait.py", line 86, in until
value = method(self._driver)
^^^^^^^^^^^^^^^^^^^^
File "C:\Users\nikla\Desktop\Twitch-Best-Of-0.0.1\modules\twitchClips.py", line 64, in
WebDriverWait(driver,60).until(lambda test : len(driver.find_elements_by_tag_name('article'))!=0)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'WebDriver' object has no attribute 'find_elements_by_tag_name'
You could implement to search by game and not by channel.
Checking if the category is available...
Traceback (most recent call last):
File "C:\Users\ADMIN\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\common\service.py", line 72, in start
self.process = subprocess.Popen(cmd, env=self.env,
File "C:\Users\ADMIN\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 969, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\ADMIN\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1438, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] The system cannot find the file specified
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "F:\compli\Twitch-Best-Of-Gen-main\main.py", line 72, in
main()
File "F:\compli\Twitch-Best-Of-Gen-main\main.py", line 37, in main
name,nclips,range,iPath,type,langs = getInputs()
File "F:\compli\Twitch-Best-Of-Gen-main\modules\input_handler.py", line 124, in getInputs
resp = isCategory(ca)
File "F:\compli\Twitch-Best-Of-Gen-main\modules\twitchClips.py", line 38, in isCategory
data = getLoadedPageContent("https://www.twitch.tv/directory/game/"+name,delay=15)
File "F:\compli\Twitch-Best-Of-Gen-main\modules\twitchClips.py", line 56, in getLoadedPageContent
driver = webdriver.Chrome(options=options)
File "C:\Users\ADMIN\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\chrome\webdriver.py", line 73, in init
self.service.start()
File "C:\Users\ADMIN\AppData\Local\Programs\Python\Python310\lib\site-packages\selenium\webdriver\common\service.py", line 81, in start
raise WebDriverException(
selenium.common.exceptions.WebDriverException: Message: 'chromedriver' executable needs to be in PATH. Please see https://sites.google.com/a/chromium.org/chromedriver/home
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.