gottagofaster236 / Twitch-Channel-Points-Miner

A simple script that will watch a stream for you and get the channel points
GNU General Public License v3.0
143 stars 45 forks source link

How can i use your Program? #1

Closed mrcsdl closed 4 years ago

mrcsdl commented 4 years ago

Hey i would like to test your Program, how do i use it? Is it possible to run it on armf? Like an Raspi?

gottagofaster236 commented 4 years ago

Hey! I haven't tested this program on any system other than Windows, but it should be portable (as it's written on Python). You can try and test it out. (Here's a link how to set up selenium on a Raspberry Pi).

mrcsdl commented 4 years ago

can you maybe help me with that? That would be soo awsome

mrcsdl commented 4 years ago

python main.py File "main.py", line 13 driver: HiddenChromeWebDriver ^ SyntaxError: invalid syntax

Can you help me with that? This pops up when i try to start ne main.py

gottagofaster236 commented 4 years ago

That means you have an old version of Python, which doesn't support type hints (which were added in Python 3.5).

mrcsdl commented 4 years ago

I Updated to python 3.8.3 now i get this with

python3.8 main.py

Traceback (most recent call last): File "main.py", line 6, in from selenium.common.exceptions import * ModuleNotFoundError: No module named 'selenium'

"python main.py" as command gets this

File "main.py", line 13 driver: HiddenChromeWebDriver ^ SyntaxError: invalid syntax

gottagofaster236 commented 4 years ago

That's because you have to install selenium. To do this, you gotta write pip install selenium in the command line.

mrcsdl commented 4 years ago

Do I need to install it in the folder of python or the main.py script or just normal without anything in the command line? Cause I installed it already and it keeps saying this.

mrcsdl commented 4 years ago

from selenium import webdriver

driver = webdriver.Chrome()

driver.get("https://www.twitch.tv")

when i run this Basic script its openting Chromium, but when i try to start your script its not working ill get the error

error in line 13 of your script at driver : <- HiddenChromeWebDriver the : are the problem atm the error is: "SyntaxError: invalid syntax"

gottagofaster236 commented 4 years ago

Again, that's because of your old Python version. Actually, you can just delete this line altogether (if your Python version doesn't support that), it's just a hint for the IDE.