gorkemhacioglu / Stream-Viewer-Chat-Bot

FREE - Twitch | YouTube | Kick | Facebook Live | Twitter | DLive | Nimo Tv | Trovo Live - Easy to use free application. Forget about the command lines and terminals. Gain chat capable viewers in a couple of minutes. Free stream viewer and chat bot.
https://streamviewerbot.com/
Other
211 stars 53 forks source link

Twitch bots do not work when "Mature Content" is enabled #210

Closed sourceAida closed 2 years ago

sourceAida commented 2 years ago

Bug Twitch bots do not work when "Mature Content" is enabled within twitch settings. This wasn't the case with prior versions. The only way the bots worked again in the current version is to turn off Mature Content. I also turned off headless to find the Mature Content screen, with the "Start watching" button in which I of course clicked to get to the stream. However, when I stop the bots and restarted them, the Mature content screen appears again. Seems like a cookie issue in which it doesn't save the choice like a normal browser would.

Screenshots Mature

OS: Windows 10 Chrome Version Version 103.0.5060.114 (Official Build) (64-bit) Bot Version 3.0.2 Twitch

gorkemhacioglu commented 2 years ago

Can you share your resolution and dpi percentage?

sourceAida commented 2 years ago

Can you share your resolution and dpi percentage?

Display Resolution | 1366x768 DPI | 100%

gorkemhacioglu commented 2 years ago

Is there any chance you to try with 1920x1080? Resolution changes the XPaths of elements. That's why the application can not find.

sourceAida commented 2 years ago

Is there any chance you to try with 1920x1080? Resolution changes the XPaths of elements. That's why the application can not find.

I wish I could change it to 1080p However, that is the max resolution my display can go. It's a laptop, that's why.

gorkemhacioglu commented 2 years ago

Can you tell me the XPath of the button. You can learn how to get it from here: https://www.youtube.com/watch?v=JanCuJSAzhc

sourceAida commented 2 years ago

Can you tell me the XPath of the button. You can learn how to get it from here: https://www.youtube.com/watch?v=JanCuJSAzhc

//*[@id="root"]/div/div[2]/div/main/div[1]/div[3]/div/div/div[2]/div/div[2]/div/div[2]/div/div/div[5]/div/div[3]/button

gorkemhacioglu commented 2 years ago

Ok, I will add into next version.

gorkemhacioglu commented 2 years ago

As I see that you sent me the XPath. I need Full XPath. My bad, I am sorry :( Can you send me the Full XPath? image

sourceAida commented 2 years ago

As I see that you sent me the XPath. I need Full XPath. My bad, I am sorry :( Can you send me the Full XPath? image

Sure no problem, here is the Full Xpath: /html/body/div[1]/div/div[2]/div/main/div[1]/div[3]/div/div/div[2]/div/div[2]/div/div[2]/div/div/div[5]/div/div[3]/button

gorkemhacioglu commented 2 years ago

Can you try with the latest version @sourceAida ?

sourceAida commented 2 years ago

Can you try with the latest version @sourceAida ?

Yes, the new version works perfect now with mature content enabled.

gorkemhacioglu commented 2 years ago

Great, thanks for reporting.