SHUR1K-N / MeetNinja-Google-Meet-Bot

A super dope tool that attends your Google Meet(s) for you. Flawlessly handles scheduled multiple (subsequent) Meet sessions. Also disables the camera & microphone, and shows timestamps of joining & ending times for each Meet. Supported: Google Chrome / Mozilla Firefox running on Linux / Mac / Windows
https://TheComputerNoob.com
71 stars 11 forks source link

can't enter the meeting #23

Closed ghost closed 3 years ago

ghost commented 3 years ago

I'm using the geckodriver, i have inserted everything, installed every PIP requirement, everything works except entering the meeting, i have no idea why

SHUR1K-N commented 3 years ago

Uncomment line #280 from MeetNinja.py:

# print(e)

Now, the failure will show itself in the form of a traceback (error message) in the MeetNinja console window. You may then share this traceback here.

ghost commented 3 years ago

k sir, a sec

ghost commented 3 years ago

i uncommented # print(e) but the bot wouldn't start so i still have no idea what happened

SHUR1K-N commented 3 years ago

Could you either send a screenshot or copy-paste all the lines you have changed? Do make sure you remove your login credentials from the copy you send here. Also, confirm if the uncommenting did not go wrong, you just need to change # print(e) to print(e) by removing the # and the space as well.

ghost commented 3 years ago

ok bud

ghost commented 3 years ago

oh god, i forgot to remove the space

ghost commented 3 years ago

ds

SHUR1K-N commented 3 years ago

I plugged my own Meet URLs and login credentials which you had left empty, and MeetNinja works just fine with the code you have copy-pasted.

Now, looking at your traceback screenshot, it seems that MeetNinja is timing out while looking for the "Join" button of a Meet. This means that your Google Meet page is loading slower than average, and the default waiting limit set within MeetNinja to be "looking" for the Join button and waiting for it to load, which is 7 seconds, is being exceeded — so MeetNinja just "times out" and stops looking. So, is your internet by any chance running a little slow today?

ghost commented 3 years ago

yeah, extremely slow

SHUR1K-N commented 3 years ago

You may either give MeetNinja another shot when your internet is feeling better, or you could just make a slight change in line #249 of MeetNinja.py:

wait = webdriver.support.ui.WebDriverWait(driver, 7)

Here, you may change the 7 to a higher value such as, say, 15 to tell MeetNinja to wait for a longer time before giving up on looking for the "Join" button.

ghost commented 3 years ago

ok sir, thank you

ghost commented 3 years ago

actually i forgot to tell you that my meet is italian not english, so that's probably the problem

ghost commented 3 years ago

is there a way to make it search the "partecipa" button?

SHUR1K-N commented 3 years ago

You may change the lines #48 and #49 of MeetNinja.py:

joinButton1Path = "//span[contains(text(), 'Join')]"
joinButton2Path = "//span[contains(text(), 'Ask to join')]"

Here, you may change 'Join' and 'Ask to join' to whatever those buttons say in your language.

ghost commented 3 years ago

thank you