Git Product home page Git Product logo

twitch-best-of's Issues

help

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

Need help

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.

Please troubleshoot this if possible

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.