tegal1337 / YOMEN

Youtube Bot Auto Comment
https://imtaqin.id/youtube-auto-commenter/
176 stars 78 forks source link

Browser Security Problem #50

Open suitechsoftware opened 5 months ago

suitechsoftware commented 5 months ago

Describe the bug After the filled email input I couldn't fill the password.

Issue: This browser or app may not be secure. Learn more Try using a different browser. If you’re already using a supported browser, you can try again to sign in.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Fill the Email input'
  2. Click on 'next button'
  3. See error

Screenshots

image

Desktop (please complete the following information):

Jvr2022 commented 3 months ago

same issue

Prisoner2-6-7 commented 3 months ago

Copy the chrome profile to your YOMEN directory and change config.js userdatadir to Profile1.

Chrome profile directory can be found in linux: /home/username/.config/google-chrome/ WIndows: %LOCALAPPDATA%\Google\Chrome\User Data\

If you dont see any directory named profile then default (Directory is your profile directory) you can see which profile is your desired by checking the Google Profile Picture.png photo inside the directories. If default is your desired profile directory you want to use then copy the default directory to YOMEN directory and change the config.js userdatadir to Default. If you are confused then share some screenshot of your chrome User Data directory

Jvr2022 commented 3 months ago

wdym with yomen directory

INFP5W4 commented 3 months ago

Copy the chrome profile to your YOMEN directory and change config.js userdatadir to Profile1.

Chrome profile directory can be found in linux: /home/username/.config/google-chrome/ WIndows: %LOCALAPPDATA%\Google\Chrome\User Data\

If you dont see any directory named profile then default (Directory is your profile directory) you can see which profile is your desired by checking the Google Profile Picture.png photo inside the directories. If default is your desired profile directory you want to use then copy the default directory to YOMEN directory and change the config.js userdatadir to Default. If you are confused then share some screenshot of your chrome User Data directory

Now instead of the usual error it says instead

"Something went wrong Sorry, something went wrong there. Try again." Screenshot 2024-05-27 122735

Prisoner2-6-7 commented 3 months ago

wdym with yomen directory

This repo name is yomen. so when you download the repo main.js will be your working directory which is inside yomen directory

Prisoner2-6-7 commented 3 months ago

Copy the chrome profile to your YOMEN directory and change config.js userdatadir to Profile1. Chrome profile directory can be found in linux: /home/username/.config/google-chrome/ WIndows: %LOCALAPPDATA%\Google\Chrome\User Data\ If you dont see any directory named profile then default (Directory is your profile directory) you can see which profile is your desired by checking the Google Profile Picture.png photo inside the directories. If default is your desired profile directory you want to use then copy the default directory to YOMEN directory and change the config.js userdatadir to Default. If you are confused then share some screenshot of your chrome User Data directory

Now instead of the usual error it says instead

"Something went wrong Sorry, something went wrong there. Try again." Screenshot 2024-05-27 122735

After my above instruction if you still get error then remove from main.js from line 66 to 119. and while running the chrome automation check the chrome profile picture and make sure that your profile have been updated the profile pic is located in chrome top right corner

fdciabdul commented 3 months ago

i'm working with this problem .. please wait till next update

Prisoner2-6-7 commented 3 months ago

i'm working with this problem .. please wait till next update

Oh you're still maintain this repo! Nice I thought you stopped maintaining the repo.

Chikoo28 commented 3 months ago

Same problem, When do we expect the next update?

fdciabdul commented 3 months ago

dear @Prisoner2-6-7 @suitechsoftware @Jvr2022 @INFP5W4 @Chikoo28

The issue has been fixed now

image

fdciabdul commented 3 months ago

honestly i wanna update this to typescript or other language like rust

but yea, it doesn't affect the function, just switch the language

Chikoo28 commented 3 months ago

dear @Prisoner2-6-7 @suitechsoftware @Jvr2022 @INFP5W4 @Chikoo28

The issue has been fixed now

image

I have tried the updated files but still the same error on google login screen, Should I need to reinstall from scratch?

Chikoo28 commented 3 months ago

Okay I did installation from scratch again but getting these errors. Am I doing something wrong?

Screenshot_1 Screenshot_2

fdciabdul commented 3 months ago

Okay I did installation from scratch again but getting these errors. Am I doing something wrong?

Screenshot_1 Screenshot_2

oh sorry haha.. i deleted the function

clone again bro..

Chikoo28 commented 3 months ago

Google Account login issue is fixed now but browser automatically gets closed after few seconds even before it start searching on YouTube. Attached some screenshot for your reference. Btw, really thanks for your efforts.

Screenshot_3 Screenshot_4

fdciabdul commented 3 months ago

try again ..

Chikoo28 commented 3 months ago

try again ..

Yes, I have tried this about 10 times now:

  1. The Google account stays logged in and displays the account management screen. After a few seconds, the browser closes. I keep trying 4-5 times, but the same thing happens each time.

  2. To workaround this, I manually log out from Google as soon as it opens by bot. Then, I quickly click "Use another account" and bot immediately start typing my email and password. Once logged in, it opens YouTube and start scrolling, but after a few seconds, the browser closes automatically.

Chikoo28 commented 3 months ago

Just an update: Bot is working now but it's randomly typing comment on it own, I have written few comments in config file which I am expecting the bot to use but it's not taking it....Any guesses what's wrong?

Chikoo28 commented 3 months ago

I've fixed the issues and wanted to share the solutions here for future reference.

Issue 1: The bot scrolls through YouTube but doesn't click on any video and eventually, the browser closes automatically.

Fix: In the log folder, create two text files named "errorCommenting.log" and "successCommenting.log".

Issue 2: The bot types random comments instead of using the comments provided in the config file.

Fix: In main.js, from lines 166 to 171, replace "copycomment" with "copycommnet". Although "copycomment" is grammatically correct, it wasn't working in the code. I'm not a coder, but when I opened main.js and searched for "copycomment", I found the incorrect "copycommnet" on line 167. First, I corrected it to "copycomment" and tried the bot, but it still typed random comments. Then I tried using the incorrect "copycommnet", and everything worked as expected. Check the attached screenshot where I actually find this. Thanks copycomment

INFP5W4 commented 2 months ago

I've fixed the issues and wanted to share the solutions here for future reference.

Issue 1: The bot scrolls through YouTube but doesn't click on any video and eventually, the browser closes automatically.

Fix: In the log folder, create two text files named "errorCommenting.log" and "successCommenting.log".

Issue 2: The bot types random comments instead of using the comments provided in the config file.

Fix: In main.js, from lines 166 to 171, replace "copycomment" with "copycommnet". Although "copycomment" is grammatically correct, it wasn't working in the code. I'm not a coder, but when I opened main.js and searched for "copycomment", I found the incorrect "copycommnet" on line 167. First, I corrected it to "copycomment" and tried the bot, but it still typed random comments. Then I tried using the incorrect "copycommnet", and everything worked as expected. Check the attached screenshot where I actually find this. Thanks copycomment

Hey bro can you hmu with your gmail or smth so you can send me the updated code. I sort of noticed these aswell but I guess I messed something along the way and it didn't work again lol

Chikoo28 commented 2 months ago

I've fixed the issues and wanted to share the solutions here for future reference. Issue 1: The bot scrolls through YouTube but doesn't click on any video and eventually, the browser closes automatically. Fix: In the log folder, create two text files named "errorCommenting.log" and "successCommenting.log". Issue 2: The bot types random comments instead of using the comments provided in the config file. Fix: In main.js, from lines 166 to 171, replace "copycomment" with "copycommnet". Although "copycomment" is grammatically correct, it wasn't working in the code. I'm not a coder, but when I opened main.js and searched for "copycomment", I found the incorrect "copycommnet" on line 167. First, I corrected it to "copycomment" and tried the bot, but it still typed random comments. Then I tried using the incorrect "copycommnet", and everything worked as expected. Check the attached screenshot where I actually find this. Thanks copycomment

Hey bro can you hmu with your gmail or smth so you can send me the updated code. I sort of noticed these aswell but I guess I messed something along the way and it didn't work again lol

The bot is working fine, but YouTube deletes comments posted by this bot and has also removed one of my channels. I advise against taking the risk.

Chikoo28 commented 2 months ago

I've fixed the issues and wanted to share the solutions here for future reference. Issue 1: The bot scrolls through YouTube but doesn't click on any video and eventually, the browser closes automatically. Fix: In the log folder, create two text files named "errorCommenting.log" and "successCommenting.log". Issue 2: The bot types random comments instead of using the comments provided in the config file. Fix: In main.js, from lines 166 to 171, replace "copycomment" with "copycommnet". Although "copycomment" is grammatically correct, it wasn't working in the code. I'm not a coder, but when I opened main.js and searched for "copycomment", I found the incorrect "copycommnet" on line 167. First, I corrected it to "copycomment" and tried the bot, but it still typed random comments. Then I tried using the incorrect "copycommnet", and everything worked as expected. Check the attached screenshot where I actually find this. Thanks copycomment

Hey bro can you hmu with your gmail or smth so you can send me the updated code. I sort of noticed these aswell but I guess I messed something along the way and it didn't work again lol

If you'd still like to give it a try and need updated code, please DM me on Telegram at https://t.me/riteshbakshi29