MShawon / YouTube-Viewer

A multithreaded view bot for YouTube
MIT License
1.46k stars 753 forks source link

I think youtube detect the bot #46

Closed egbrave closed 3 years ago

egbrave commented 3 years ago

Hi I start using the bot five days ago first day I get 195 hours third day I get 770 hours forth I get 90 hours last day I get 509 hours but all these hours losted today what's wrong

MShawon commented 3 years ago

Yeah I already mentioned in couple issues that some views coming from this bot may get deleted. Also I mentioned in README as cons. I'm aware of this problem. But sorry I don't know any solution.

On Sun, Mar 14, 2021, 11:06 PM egbrave @.***> wrote:

Hi I start using the bot five days ago first day I get 195 hours third day I get 770 hours forth I get 90 hours last day I get 509 hours but all these hours losted today what's wrong

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MShawon/YouTube-Viewer/issues/46, or unsubscribe https://github.com/notifications/unsubscribe-auth/APSKB2LUH36CLCXAMJPX2DDTDTUK5ANCNFSM4ZFFJAAQ .

sanglineto commented 3 years ago

If course...its not working! AI - YouTube detected you....!!! I nerd to stop tô use It...hugs ....i alredy tested

Em dom, 14 de mar de 2021 14:06, egbrave @.***> escreveu:

Hi I start using the bot five days ago first day I get 195 hours third day I get 770 hours forth I get 90 hours last day I get 509 hours but all these hours losted today what's wrong

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MShawon/YouTube-Viewer/issues/46, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANE6SQZ7Z2RNAFCITCYMJUDTDTUK5ANCNFSM4ZFFJAAQ .

egbrave commented 3 years ago

why we can't use microsoft edge for the bot i think google detect the bot via chrome can you switch to edge

IWantToLearn1 commented 3 years ago

I think a script with adblock (i don't know if this is possible) could prevent the headless chrome problem ^^ And maybe the views decrease, but edge would still be the same i think, because youtube have many cookies that even with edge you must have

IWantToLearn1 commented 3 years ago

(Youtube detect me also,even with 1-10 Threads)

cyruskalx commented 3 years ago

Bot is definitely detectable, I'm not 100% sure of what is setting it off, but you have a good structured script. Biggest thing is actually humanizing it. I have built a bot, that hasn't been detected yet, been running it for months, sometimes Ill lose some views, but mostly keep them all. Only problem is the script is slow because I was running it off of Auth VPN Extensions. So I have to have the bot sign in for every session. I do like the proxy you have set up, but would the bot be detected due to Transparent proxies? Honestly not sure.

cyruskalx commented 3 years ago

I heard mobile views is the way to go, anyone ever look into this?

MShawon commented 3 years ago

@egbrave I don't think switching to edge will solve this problem

@IWantToLearn1 what do you mean by script with adblock?

@cyruskalx I think youtube detects this script as we're not logged into Youtube and when we use this script for a long time same proxy comes into play. Maybe those same proxies giving it off as a bot. So your script is running with auth VPN? Paid proxies? What do you mean by mobile views?

IWantToLearn1 commented 3 years ago

I meant : i think by inspecting the youtube connexion element and removing it before the video plays could resolve the headless issue that is recurrent, but i don't know if it's possible

chefo66 commented 3 years ago

Bot is definitely detectable, I'm not 100% sure of what is setting it off, but you have a good structured script. Biggest thing is actually humanizing it. I have built a bot, that hasn't been detected yet, been running it for months, sometimes Ill lose some views, but mostly keep them all. Only problem is the script is slow because I was running it off of Auth VPN Extensions. So I have to have the bot sign in for every session. I do like the proxy you have set up, but would the bot be detected due to Transparent proxies? Honestly not sure.

Nice idea, how did you made the script to login by VPN? For sure its slow but could be a save way.

cyruskalx commented 3 years ago

@MShawon yes I use Paid VPN, NordVPN to be exact. I only used it because I already had a subscription. Its was 90% off so I figured why not. Only problem is, you can only have 6 devices signed in at a time. So for me i used NordVPN chrome extensions per browser, but only could do 6 sessions at a time, even still its a bit buggy sometimes as Ill get kicked off the VPN connection randomly.

Thats when I came across your repo, as I was looking for a proxy solution. Im not sure if the proxy is setting them off, usually YT will delete video views if the same IP address is used more than once in 24 hours, but I really don't know how true that is, because 1000's of people are on the same IP when connected to VPN's or Proxies. I honestly feel its a pattern/behavior recognition.

For example your code does 2 method, that dont really vary in how the bot interacts with the webpage. Im not familar with javascript crawlers, but I read that they are used to see how you react with the site. TikTok for example I tested a bot on it, because it will actually give you a warning in the developer tools when something looks odd or bot like. So I am assume YT is doing the same. I think they can track where you click on an element, time between requests, route throughout website per session.

I am 99.99% certain YT just looks at patterns/behaviors as a group of sessions, and not just a single session. Hence why the views are counted initially, and then deleted after a time.

For example: For your first method you go to the url directly once, it will probably keep your view. But if you do it 100's of times within a given period, it easily detected because all the behaviors of the sessions are exactly the same (same combination of interaction)

Okay now, what if we throw in your second method. Instead of having 1 combination of interaction, you now have 2. But after a time YT will see the pattern of Combination 1 and Combination 2. If this only occurs a few times, Im sure the views will stay, but then if YT sees that each combination has 100's of session exactly the same then, with no other views close to that number, the views will get deleted.

What I am trying to say, is the bot I have been working on, as a priority of creating 1000's of Combinations per session on how it interacts with the site. So for your method 1, I added a time delay before clicking the button, and then added an offset to where the button is clicked, I even added a random option to turn down the volume to a random percentage, and also added a random pause for a random time limit. Overall, I turned your method 1 of only having 1 specific interaction combination into 100's of combinations. So now YT can't group all these sessions into 1 specific group because they all have different behaviors, so what does YT do next??

They probably look at how you entered the site, and since method 1 is directly to video, now all my combinations are now worthless and grouped together as how they entered the site. YT will see that all 1000 views came from going directly to site, with no other route..... boom deleted.

Basically bottom line is, if we are going to beat the YT AI we have to stop the AI from grouping all our views into the same groups and flagging them as botted view. We need to create as many possible combinations as we can.

So my bot at the moment will start with a 1st Level of the following decision:

  1. Go to homepage
  2. Go to channel page
  3. Go to url
  4. go to personal webpage with url embedded video

Thats 4 options, or 254 possible combinations that my bot can create (if i set my views to 4, it has 254 possible way to generate those 4 views) although YT will still group them into 4 different groups. If those 4 different groups get 100's of view each with no variation on how you interacted with the website, boom deleted.)

So then i created another level.

2nd Level of decisions: 1. Go to homepage

  1. click on search box
  2. click on search icon
  3. click on random video first in random location 27 combinations

2. Go to channel page

  1. sit on channel page and watch trailer video
  2. click on playlist tab
  3. click on video tab 27 combinations

3. Go to url

  1. click video 1 combination

4. go to personal webpage with url embedded video

  1. click video 1 combination

total of 729 combination of behavior interaction per session, become harder for YT to group your sessions, unless you bot into the 1000's.

The more views you want, the more combinations you have to make, and I am working on my bot to go further down into the decision tree.

For example continued Levels: 1. Go to homepage

  1. click on search box
    1. random time delay for click
      1. Offset where to click on element
        1. random search combination (for example: 'Show Cute Puppies', 'Cute Puppies Show', 'ShowCute puppies')

Anyway, for me this seems to be working at the moment. Hopefully it gives alittle insight. I don't mind sharing my code, but it still is a work in progress.

cyruskalx commented 3 years ago

@chefo66 each extension has a url that it goes to to login. usually if you manually click on the extension it will drop down a popup for you to fill in a form. But selenium cant interact with that popup. So you just have to find the url in the crx, and driver.get(url) and it will bring it up in the browser instead, allowing you to interact with it.

cyruskalx commented 3 years ago

@MShawon I read somewhere there youtube mobile has a harder time detecting bots, or it not a priority for them to put much support into. As selenium type applications have made botting on PC easier for your Average Joe. And working with or manipulating mobile applications is not an easy task in general. But some people are doing it, and they are saying its like botting YT 10 years ago. I don't know, I cant find much on it. and I am not familiar with doing it.

MShawon commented 3 years ago

@cyruskalx thank you for sharing your insights. To be honest, before releasing it on GitHub I hardcoded it to find video from my GitHub readme or searching or the direct link. But implementing this for everyone was a bit difficult. For example, after I added the search.txt feature a lot of people were opening issues like index out of range.

But you have done some amazing research. but I really don't know how true that is, because 1000's of people are on the same IP when connected to VPN's or Proxies I think youtube makes the decision in this situation whether you're logged in or not. Then analyze it according to accounts used to watch those videos.

I have another question. If we use a VPN, the same IP address will come into play, right? Or every time we sign in we're going to get a new IP?

You are using Python for your project? If you know Python, I welcome you to make any PR to this project. It would be great if you could share your code as well.

chefo66 commented 3 years ago

@chefo66 each extension has a url that it goes to to login. usually if you manually click on the extension it will drop down a popup for you to fill in a form. But selenium cant interact with that popup. So you just have to find the url in the crx, and driver.get(url) and it will bring it up in the browser instead, allowing you to interact with it.

Thanks for the information, sounds really good and if I understand you right, you can use all 6 users parallel with your script. This is already a very good result. I have to open with VPN every single task by hand....

idmahbub commented 3 years ago

@MShawon yes I use Paid VPN, NordVPN to be exact. I only used it because I already had a subscription. Its was 90% off so I figured why not. Only problem is, you can only have 6 devices signed in at a time. So for me i used NordVPN chrome extensions per browser, but only could do 6 sessions at a time, even still its a bit buggy sometimes as Ill get kicked off the VPN connection randomly.

Thats when I came across your repo, as I was looking for a proxy solution. Im not sure if the proxy is setting them off, usually YT will delete video views if the same IP address is used more than once in 24 hours, but I really don't know how true that is, because 1000's of people are on the same IP when connected to VPN's or Proxies. I honestly feel its a pattern/behavior recognition.

For example your code does 2 method, that dont really vary in how the bot interacts with the webpage. Im not familar with javascript crawlers, but I read that they are used to see how you react with the site. TikTok for example I tested a bot on it, because it will actually give you a warning in the developer tools when something looks odd or bot like. So I am assume YT is doing the same. I think they can track where you click on an element, time between requests, route throughout website per session.

I am 99.99% certain YT just looks at patterns/behaviors as a group of sessions, and not just a single session. Hence why the views are counted initially, and then deleted after a time.

For example: For your first method you go to the url directly once, it will probably keep your view. But if you do it 100's of times within a given period, it easily detected because all the behaviors of the sessions are exactly the same (same combination of interaction)

Okay now, what if we throw in your second method. Instead of having 1 combination of interaction, you now have 2. But after a time YT will see the pattern of Combination 1 and Combination 2. If this only occurs a few times, Im sure the views will stay, but then if YT sees that each combination has 100's of session exactly the same then, with no other views close to that number, the views will get deleted.

What I am trying to say, is the bot I have been working on, as a priority of creating 1000's of Combinations per session on how it interacts with the site. So for your method 1, I added a time delay before clicking the button, and then added an offset to where the button is clicked, I even added a random option to turn down the volume to a random percentage, and also added a random pause for a random time limit. Overall, I turned your method 1 of only having 1 specific interaction combination into 100's of combinations. So now YT can't group all these sessions into 1 specific group because they all have different behaviors, so what does YT do next??

They probably look at how you entered the site, and since method 1 is directly to video, now all my combinations are now worthless and grouped together as how they entered the site. YT will see that all 1000 views came from going directly to site, with no other route..... boom deleted.

Basically bottom line is, if we are going to beat the YT AI we have to stop the AI from grouping all our views into the same groups and flagging them as botted view. We need to create as many possible combinations as we can.

So my bot at the moment will start with a 1st Level of the following decision:

  1. Go to homepage
  2. Go to channel page
  3. Go to url
  4. go to personal webpage with url embedded video

Thats 4 options, or 254 possible combinations that my bot can create (if i set my views to 4, it has 254 possible way to generate those 4 views) although YT will still group them into 4 different groups. If those 4 different groups get 100's of view each with no variation on how you interacted with the website, boom deleted.)

So then i created another level.

2nd Level of decisions: 1. Go to homepage

  1. click on search box
  2. click on search icon
  3. click on random video first in random location 27 combinations

2. Go to channel page

  1. sit on channel page and watch trailer video
  2. click on playlist tab
  3. click on video tab 27 combinations

3. Go to url

  1. click video 1 combination

4. go to personal webpage with url embedded video

  1. click video 1 combination

total of 729 combination of behavior interaction per session, become harder for YT to group your sessions, unless you bot into the 1000's.

The more views you want, the more combinations you have to make, and I am working on my bot to go further down into the decision tree.

For example continued Levels: 1. Go to homepage

  1. click on search box
  2. random time delay for click
  3. Offset where to click on element
  4. random search combination (for example: 'Show Cute Puppies', 'Cute Puppies Show', 'ShowCute puppies')

Anyway, for me this seems to be working at the moment. Hopefully it gives alittle insight. I don't mind sharing my code, but it still is a work in progress.

Yes, im also modif with vpn extention, and disable headless mode, and modif user agent, but im not sure, youtube still detected this, i thinks with the selenium, packet request have many parameter can identifiying for automation (like a "webdriver = true"). i have modif this project for humanity pattern start with : google.com-> enter keyword-> if found just click and play->else browse youtube.com and enter search coloum->if found just click and play.

some reason founded, 20% from my python thread on the step searching keyword in G-search, i see recaptcha, for this moment i have reason my session has detected with spam. So i confirm with new loop and restart thread, so i have solved, and recaptcha no sowing again.

Btw, im sorry with my bad english

Someone any idea for my case?

chefo66 commented 3 years ago

Hey, I can confirm if I reload or make new loop there is no captcha or question to login. But maybe it depends on where the proxy is located. So if the script would reload automatically when login or captcha is popping up, maybe some more views can be catched.

idmahbub commented 3 years ago
Screen Shot 2021-03-19 at 16 00 38

im still improvement, with humanity flow and more trick, btw this my trick:

I will wait for the next 4 days, whether it yields satisfactory results

chefo66 commented 3 years ago
Screen Shot 2021-03-19 at 16 00 38

im still improvement, with humanity flow and more trick, btw this my trick:

* keep consistency user agent on the browser driver with response js challange like ('navbar.platform' and eval.toString().length). user agent matching with where python installed, just rotate browser version.

* im just tray with vpn or socks proxy

* make navigation / flow like human

I will wait for the next 4 days, whether it yields satisfactory results

The main reason for stable views is a good proxy base. If the proxies are good, the views will be not deleted. Also you should not try to many threads in parallel, because YT will double check then your traffic... .

I think it would work very good with VPN, but there I think the IP's are more limited, but also more stable, because with the most VPN providers you can watch YT all over the world.

So if there is a solution to try with VPN would be good...

For sure the most important thing is to make good videos, then the videos rank also good.

Have a nice weekend.

egbrave commented 3 years ago

hi what about modify the code to use imbedded video in a website so youtube detect the views from a website not direct

MShawon commented 3 years ago

@egbrave I can certainly include that but not everyone has a website. Besides everyone's website won't be the same. If you can modify the source code you should try it. But hard coding it for everyone I can not still figure out an easy way.

egbrave commented 3 years ago

@MShawon i can't modify the code but i'll try

egbrave commented 3 years ago

what code i can use to navigate to figure class and hit play

MShawon commented 3 years ago

@egbrave can you DM me? what's your discord?

alperroglu commented 3 years ago

I assume Google detect the viewer bot and they decreased my watching 100+. I couldn't catch what you said.

idmahbub commented 3 years ago
Screen Shot 2021-03-19 at 16 00 38

im still improvement, with humanity flow and more trick, btw this my trick:

  • keep consistency user agent on the browser driver with response js challange like ('navbar.platform' and eval.toString().length). user agent matching with where python installed, just rotate browser version.
  • im just tray with vpn or socks proxy
  • make navigation / flow like human

I will wait for the next 4 days, whether it yields satisfactory results

Oh my God, my number of views decreased after 5 days, vpn user agent this script

keep reserach guys !

chefo66 commented 3 years ago
Screen Shot 2021-03-19 at 16 00 38

im still improvement, with humanity flow and more trick, btw this my trick:

  • keep consistency user agent on the browser driver with response js challange like ('navbar.platform' and eval.toString().length). user agent matching with where python installed, just rotate browser version.
  • im just tray with vpn or socks proxy
  • make navigation / flow like human

I will wait for the next 4 days, whether it yields satisfactory results

Oh my God, my number of views decreased after 5 days, vpn user agent this script

keep reserach guys !

Hey man sounds good. So I think if you use VPN the views should be stable, as long as the VPN IP's will be not used from a lot of people with the same target :). The IP's are limited on the side of providers. If YT will detect a several times the same IP with same target, they will delete everything. So the best way is to make it slow... But this is just my personal opinion... To be succuessful on YT you need real subscribers and they must watch the videos, then everything is fine. I know it's a hard way, but it always depends on the quality of videos. I'm also fighting for my first 1000 subscribers... Keep fingers crossed.

psyabit commented 3 years ago

Since weeks no decrease 🤷‍♂️

Von meinem iPhone gesendet

Am 24.03.2021 um 07:28 schrieb idmahbub @.***>:



im still improvement, with humanity flow and more trick, btw this my trick:

keep consistency user agent on the browser driver with response js challange like ('navbar.platform' and eval.toString().length). user agent matching with where python installed, just rotate browser version. im just tray with vpn or socks proxy make navigation / flow like human I will wait for the next 4 days, whether it yields satisfactory results

Oh my God, my number of views decreased after 5 days, vpn user agent this script

keep reserach guys !

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

chefo66 commented 3 years ago

That's good. Are you using VPN?

idmahbub commented 3 years ago

Since weeks no decrease 🤷‍♂️ Von meinem iPhone gesendet Am 24.03.2021 um 07:28 schrieb idmahbub @.***>:  im still improvement, with humanity flow and more trick, btw this my trick: keep consistency user agent on the browser driver with response js challange like ('navbar.platform' and eval.toString().length). user agent matching with where python installed, just rotate browser version. im just tray with vpn or socks proxy make navigation / flow like human I will wait for the next 4 days, whether it yields satisfactory results Oh my God, my number of views decreased after 5 days, vpn user agent this script keep reserach guys ! — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

what your dircord id?

psyabit commented 3 years ago

No for what? Make no sense.

Von meinem iPhone gesendet

Am 24.03.2021 um 09:08 schrieb chefo66 @.***>:

 That's good. Are you using VPN?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

psyabit commented 3 years ago

No discord.

Von meinem iPhone gesendet

Am 24.03.2021 um 09:14 schrieb idmahbub @.***>:

 Since weeks no decrease 🤷‍♂️ Von meinem iPhone gesendet … Am 24.03.2021 um 07:28 schrieb idmahbub @.***>:  im still improvement, with humanity flow and more trick, btw this my trick: keep consistency user agent on the browser driver with response js challange like ('navbar.platform' and eval.toString().length). user agent matching with where python installed, just rotate browser version. im just tray with vpn or socks proxy make navigation / flow like human I will wait for the next 4 days, whether it yields satisfactory results Oh my God, my number of views decreased after 5 days, vpn user agent this script keep reserach guys ! — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

what your dircord id?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or unsubscribe.

MShawon commented 3 years ago

@psyabit people are experiencing view decrease issue.. if you could share your mechanism it would help them understand what they should do..what script you're using? You using latest version of the script? What proxies you are using? Just share your setups. Thanks

psyabit commented 3 years ago

I use the latest script and private proxy list. U need elite proxy's...

Von meinem iPhone gesendet

Am 24.03.2021 um 09:37 schrieb Monirul Shawon @.***>:

 @psyabit people are experiencing view decrease issue.. if you could share your mechanism it would help them understand what they should do..what script you're using? You using latest version of the script? What proxies you are using? Just share your setups. Thanks

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

cyruskalx commented 3 years ago
Screen Shot 2021-03-19 at 16 00 38

im still improvement, with humanity flow and more trick, btw this my trick:

  • keep consistency user agent on the browser driver with response js challange like ('navbar.platform' and eval.toString().length). user agent matching with where python installed, just rotate browser version.
  • im just tray with vpn or socks proxy
  • make navigation / flow like human

I will wait for the next 4 days, whether it yields satisfactory results

Oh my God, my number of views decreased after 5 days, vpn user agent this script

keep reserach guys !

Unfortunately, when I was taking some proxy code, I didn't realize the script was using headless mode. YT can detect it, If you run a normal chrome window on YT, the header tab (developer tools) that is POSTED to the site will indicated a value for 'cbv' as 'chrome version XX.XX.XX...' BUT if you run the script and allow for the browser to go into headless mode, that 'cbv' value is then 'headless chrome'. So unless you can hide the fact that you are in headless mode, YT is going to catch you.

Also, you have to watch your HEADERS! When you fake a user-agent, make sure you only POST user-agents that correlate to your operating system, because the Navigator on websites can see what os you are using. So if you are faking an Safari Brower, and you are running on Windows, you are an easy catch.

2nd make sure before you launch your chromedriver.exe, you add the ChromeOption of changing your screen resolution. Find a few different common screen resolutions, and then set them up to randomly pick one at launch. Because if you don't you will always POST with your actual monitor resolution, and if you have 1000's of views with the same resolution, with NO variance, you will be caught. For me I have an Ultra Wide Monitor, so I'm an easy catch. Not many people have Ultra Wides.

3rd when launching multiple browsers, don't use funky window sizes. I see some people that will launch as many browsers as they can on one monitor, and have like 10 of them at the same size, and really small. YT will see that easily. This is difficult if you don't have a large monitor. Especially if you want to fun multiple browsers at once, and disguise your bot.

One thing Im interested in, is if YT can tell if you are watching the video in Fullscreen or not, because again that could be a huge give away too.

cyruskalx commented 3 years ago

I use the latest script and private proxy list. U need elite proxy's... Von meinem iPhone gesendet Am 24.03.2021 um 09:37 schrieb Monirul Shawon @.***>:  @psyabit people are experiencing view decrease issue.. if you could share your mechanism it would help them understand what they should do..what script you're using? You using latest version of the script? What proxies you are using? Just share your setups. Thanks — You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

I use VPN's and I still see a decrease sometimes. How many threads are your running? How many views are you creating? Because the view loss, doesn't really depend on time, it depends on patterns. If you are running very little threads and creating very littles views, you many not see view losses until YT has a big enough sample size to see a pattern in your activity.

But keep us updated, as I'm interested to see if elite proxies are working

cyruskalx commented 3 years ago
Screen Shot 2021-03-19 at 16 00 38

im still improvement, with humanity flow and more trick, btw this my trick:

  • keep consistency user agent on the browser driver with response js challange like ('navbar.platform' and eval.toString().length). user agent matching with where python installed, just rotate browser version.
  • im just tray with vpn or socks proxy
  • make navigation / flow like human

I will wait for the next 4 days, whether it yields satisfactory results

Oh my God, my number of views decreased after 5 days, vpn user agent this script keep reserach guys !

Hey man sounds good. So I think if you use VPN the views should be stable, as long as the VPN IP's will be not used from a lot of people with the same target :). The IP's are limited on the side of providers. If YT will detect a several times the same IP with same target, they will delete everything. So the best way is to make it slow... But this is just my personal opinion... To be succuessful on YT you need real subscribers and they must watch the videos, then everything is fine. I know it's a hard way, but it always depends on the quality of videos. I'm also fighting for my first 1000 subscribers... Keep fingers crossed.

I mean if you are looking for subscribers, I'm sure there is a group out there that you could join, where everyone subs to each other. I know organic growth is important, but getting yourself above the pile of other creators is important too.

MShawon commented 3 years ago

@cyruskalx yes I'm working on useragent ... I'm going to make it mandatory not to run in headless mode but this is resources expensive.. I have already made some progress to bypass sign in and i agree part.. do you think 1024x randint(1,1.5) and 768x randint(1,1.25) would be any problem for browser size? Or should I use common viewport like 1920x1080, 1366x768 etc? But not everyone has large monitor..

chefo66 commented 3 years ago
Screen Shot 2021-03-19 at 16 00 38

im still improvement, with humanity flow and more trick, btw this my trick:

  • keep consistency user agent on the browser driver with response js challange like ('navbar.platform' and eval.toString().length). user agent matching with where python installed, just rotate browser version.
  • im just tray with vpn or socks proxy
  • make navigation / flow like human

I will wait for the next 4 days, whether it yields satisfactory results

Oh my God, my number of views decreased after 5 days, vpn user agent this script keep reserach guys !

Hey man sounds good. So I think if you use VPN the views should be stable, as long as the VPN IP's will be not used from a lot of people with the same target :). The IP's are limited on the side of providers. If YT will detect a several times the same IP with same target, they will delete everything. So the best way is to make it slow... But this is just my personal opinion... To be succuessful on YT you need real subscribers and they must watch the videos, then everything is fine. I know it's a hard way, but it always depends on the quality of videos. I'm also fighting for my first 1000 subscribers... Keep fingers crossed.

I mean if you are looking for subscribers, I'm sure there is a group out there that you could join, where everyone subs to each other. I know organic growth is important, but getting yourself above the pile of other creators is important too.

Fully agree with you, that's why it would be nice that this YT tool is running well. There are some companies out there and selling views and I checked one. The views are delivered very quick and will be not deleted. So I'm sure there is a way to do it.

What are elite proxies?

idmahbub commented 3 years ago
Screen Shot 2021-03-19 at 16 00 38

im still improvement, with humanity flow and more trick, btw this my trick:

  • keep consistency user agent on the browser driver with response js challange like ('navbar.platform' and eval.toString().length). user agent matching with where python installed, just rotate browser version.
  • im just tray with vpn or socks proxy
  • make navigation / flow like human

I will wait for the next 4 days, whether it yields satisfactory results

Oh my God, my number of views decreased after 5 days, vpn user agent this script keep reserach guys !

Unfortunately, when I was taking some proxy code, I didn't realize the script was using headless mode. YT can detect it, If you run a normal chrome window on YT, the header tab (developer tools) that is POSTED to the site will indicated a value for 'cbv' as 'chrome version XX.XX.XX...' BUT if you run the script and allow for the browser to go into headless mode, that 'cbv' value is then 'headless chrome'. So unless you can hide the fact that you are in headless mode, YT is going to catch you.

Also, you have to watch your HEADERS! When you fake a user-agent, make sure you only POST user-agents that correlate to your operating system, because the Navigator on websites can see what os you are using. So if you are faking an Safari Brower, and you are running on Windows, you are an easy catch.

2nd make sure before you launch your chromedriver.exe, you add the ChromeOption of changing your screen resolution. Find a few different common screen resolutions, and then set them up to randomly pick one at launch. Because if you don't you will always POST with your actual monitor resolution, and if you have 1000's of views with the same resolution, with NO variance, you will be caught. For me I have an Ultra Wide Monitor, so I'm an easy catch. Not many people have Ultra Wides.

3rd when launching multiple browsers, don't use funky window sizes. I see some people that will launch as many browsers as they can on one monitor, and have like 10 of them at the same size, and really small. YT will see that easily. This is difficult if you don't have a large monitor. Especially if you want to fun multiple browsers at once, and disguise your bot.

One thing Im interested in, is if YT can tell if you are watching the video in Fullscreen or not, because again that could be a huge give away too.

I haven't tried it with a proxy, I don't use the headless feature, from the first time I met this repo I immediately modified it to use VPN.

I have also maintained consistency, the user agent I use, to match the machine I use. (My PC is Win 10, Chrome) so I always use a user agent with a Win10 OS and a different Vercrhome.

I have tried:

I will try:

my problem:

My question for you, please explain this, I don't really understand it?

3rd when launching multiple browsers, don't use funky window sizes. I see some people that will launch as many browsers as they can on one monitor, and have like 10 of them at the same size, and really small. YT will see that easily. This is difficult if you don't have a large monitor. Especially if you want to fun multiple browsers at once, and disguise your bot.

psyabit commented 3 years ago

I use this script on my Synology NAS on an ubuntu server. With webshare.io proxys. I use socks5 proxy. i make around 500 views a week. No decrease since first time use this script.

Von meinem iPhone gesendet

Am 24.03.2021 um 18:30 schrieb idmahbub @.***>:

 im still improvement, with humanity flow and more trick, btw this my trick: keep consistency user agent on the browser driver with response js challange like ('navbar.platform' and eval.toString().length). user agent matching with where python installed, just rotate browser version. im just tray with vpn or socks proxy make navigation / flow like human I will wait for the next 4 days, whether it yields satisfactory results

Oh my God, my number of views decreased after 5 days, vpn user agent this script keep reserach guys !

Unfortunately, when I was taking some proxy code, I didn't realize the script was using headless mode. YT can detect it, If you run a normal chrome window on YT, the header tab (developer tools) that is POSTED to the site will indicated a value for 'cbv' as 'chrome version XX.XX.XX...' BUT if you run the script and allow for the browser to go into headless mode, that 'cbv' value is then 'headless chrome'. So unless you can hide the fact that you are in headless mode, YT is going to catch you.

Also, you have to watch your HEADERS! When you fake a user-agent, make sure you only POST user-agents that correlate to your operating system, because the Navigator on websites can see what os you are using. So if you are faking an Safari Brower, and you are running on Windows, you are an easy catch.

2nd make sure before you launch your chromedriver.exe, you add the ChromeOption of changing your screen resolution. Find a few different common screen resolutions, and then set them up to randomly pick one at launch. Because if you don't you will always POST with your actual monitor resolution, and if you have 1000's of views with the same resolution, with NO variance, you will be caught. For me I have an Ultra Wide Monitor, so I'm an easy catch. Not many people have Ultra Wides.

3rd when launching multiple browsers, don't use funky window sizes. I see some people that will launch as many browsers as they can on one monitor, and have like 10 of them at the same size, and really small. YT will see that easily. This is difficult if you don't have a large monitor. Especially if you want to fun multiple browsers at once, and disguise your bot.

One thing Im interested in, is if YT can tell if you are watching the video in Fullscreen or not, because again that could be a huge give away too.

I haven't tried it with a proxy, I don't use the headless feature, from the first time I met this repo I immediately modified it to use VPN.

I have also maintained consistency, the user agent I use, to match the machine I use. (My PC is Win 10, Chrome) so I always use a user agent with a Win10 OS and a different Vercrhome.

I have tried:

using VPN non headless crhome option: (disable automation [to answer js challenges, navigator.webdriver ()], user agent, add extension, set resolution [not random], user-data-dir [for hold temporery cookies data]) edit the crhome driver for all platforms (change the js variable in the binary file with a new varibale that is different but with the same bit count, to mask the crhome driver) I will try:

randomly picks from a pre-prepared list of resolutions. my problem:

I have no idea to be able to play multiple browsers full screen. adsense, youtube and all about google. My question for you, please explain this, I don't really understand it?

3rd when launching multiple browsers, don't use funky window sizes. I see some people that will launch as many browsers as they can on one monitor, and have like 10 of them at the same size, and really small. YT will see that easily. This is difficult if you don't have a large monitor. Especially if you want to fun multiple browsers at once, and disguise your bot.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.

MShawon commented 3 years ago

@psyabit do you run in headless mode? How many threads do you use?

idmahbub commented 3 years ago

I use this script on my Synology NAS on an ubuntu server. With webshare.io proxys. I use socks5 proxy. i make around 500 views a week. No decrease since first time use this script. Von meinem iPhone gesendet

think because the number of views that are still rational in one week makes it look like it is not a bot. Have you tried more views (for example 1k views) in one day? do you use rotate proxy?

idmahbub commented 3 years ago

combinations

what about your great job? I hope it will run smoothly, if possible I want to get the code that you created, thanks

chefo66 commented 3 years ago

webshare.io

Do you use the rotating proxy from webshare.io?

cyruskalx commented 3 years ago

@cyruskalx yes I'm working on useragent ... I'm going to make it mandatory not to run in headless mode but this is resources expensive.. I have already made some progress to bypass sign in and i agree part.. do you think 1024x randint(1,1.5) and 768x randint(1,1.25) would be any problem for browser size? Or should I use common viewport like 1920x1080, 1366x768 etc? But not everyone has large monitor..

I would honestly just go with the normal viewport sizes. Just make sure if you have your browser resolution set smaller or equal to your fake monitor size. You can throw in some, not so common browser sizes, as people to like watch while they work, and have it half the resolution of the monitor size. Just for those not so common browser sizes, maybe have them get selected like 5% of the time or something.

cyruskalx commented 3 years ago
Screen Shot 2021-03-19 at 16 00 38

im still improvement, with humanity flow and more trick, btw this my trick:

  • keep consistency user agent on the browser driver with response js challange like ('navbar.platform' and eval.toString().length). user agent matching with where python installed, just rotate browser version.
  • im just tray with vpn or socks proxy
  • make navigation / flow like human

I will wait for the next 4 days, whether it yields satisfactory results

Oh my God, my number of views decreased after 5 days, vpn user agent this script keep reserach guys !

Unfortunately, when I was taking some proxy code, I didn't realize the script was using headless mode. YT can detect it, If you run a normal chrome window on YT, the header tab (developer tools) that is POSTED to the site will indicated a value for 'cbv' as 'chrome version XX.XX.XX...' BUT if you run the script and allow for the browser to go into headless mode, that 'cbv' value is then 'headless chrome'. So unless you can hide the fact that you are in headless mode, YT is going to catch you. Also, you have to watch your HEADERS! When you fake a user-agent, make sure you only POST user-agents that correlate to your operating system, because the Navigator on websites can see what os you are using. So if you are faking an Safari Brower, and you are running on Windows, you are an easy catch. 2nd make sure before you launch your chromedriver.exe, you add the ChromeOption of changing your screen resolution. Find a few different common screen resolutions, and then set them up to randomly pick one at launch. Because if you don't you will always POST with your actual monitor resolution, and if you have 1000's of views with the same resolution, with NO variance, you will be caught. For me I have an Ultra Wide Monitor, so I'm an easy catch. Not many people have Ultra Wides. 3rd when launching multiple browsers, don't use funky window sizes. I see some people that will launch as many browsers as they can on one monitor, and have like 10 of them at the same size, and really small. YT will see that easily. This is difficult if you don't have a large monitor. Especially if you want to fun multiple browsers at once, and disguise your bot. One thing Im interested in, is if YT can tell if you are watching the video in Fullscreen or not, because again that could be a huge give away too.

I haven't tried it with a proxy, I don't use the headless feature, from the first time I met this repo I immediately modified it to use VPN.

I have also maintained consistency, the user agent I use, to match the machine I use. (My PC is Win 10, Chrome) so I always use a user agent with a Win10 OS and a different Vercrhome.

I have tried:

  • using VPN
  • non headless
  • crhome option: (disable automation [to answer js challenges, navigator.webdriver ()], user agent, add extension, set resolution [not random], user-data-dir [for hold temporery cookies data])
  • edit the crhome driver for all platforms (change the js variable in the binary file with a new varibale that is different but with the same bit count, to mask the crhome driver)

I will try:

  • randomly picks from a pre-prepared list of resolutions.

my problem:

  • I have no idea to be able to play multiple browsers full screen.
  • New algorithm from adsense, youtube and all about google.

My question for you, please explain this, I don't really understand it?

3rd when launching multiple browsers, don't use funky window sizes. I see some people that will launch as many browsers as they can on one monitor, and have like 10 of them at the same size, and really small. YT will see that easily. This is difficult if you don't have a large monitor. Especially if you want to fun multiple browsers at once, and disguise your bot.

Sorry it was just an off note, basically when people run browsers, they arrange the window sizes to fit within their monitor, so they don't overlap one another. Because I believe Selenium won't find elements if you cover the browser. But the problem is they will try and run multiple browsers on their monitor, so they will set their browsers up in a grid like formation to fill their monitor with browsers. Unfortunately they browsers sizes in a grid like formation, are all equal... easy catch.

Basically I was just saying that, it sucks to run in non-headless mode, as you want to get as many threads as possible, but its hard to randomize your browsers sizes, if they cant be covered.

idmahbub commented 3 years ago

Sorry it was just an off note, basically when people run browsers, they arrange the window sizes to fit within their monitor, so they don't overlap one another. Because I believe Selenium won't find elements if you cover the browser. But the problem is they will try and run multiple browsers on their monitor, so they will set their browsers up in a grid like formation to fill their monitor with browsers. Unfortunately they browsers sizes in a grid like formation, are all equal... easy catch.

Basically I was just saying that, it sucks to run in non-headless mode, as you want to get as many threads as possible, but its hard to randomize your browsers sizes, if they cant be covered.

Screen Shot 2021-03-25 at 21 31 11

selenium still works, even though browser threads overlap

cyruskalx commented 3 years ago

@MShawon @idmahbub There is one way you can get around not using headless mode, and technically be in headless mode.

One way is to have Virtual Machines, as you can launch a browser in it and have the VM minimize, but that is very resource heavy as you are trying to run multiple computers at once. It works, but can't run many threads or Computers in this case.

Are you familiar with Docker? Docker does the same thing as a VM, but is completely headless, and light on resources.

VM - Needs to have its own operating system, storage, and memory. Which gets reserved from your main computer, since you are using a GUI it requires more memory.

Docker - Used containers. So think of each container as its own person VM. But it just uses your already installed operating system, and has no GUI, requires very little storage. Therefore requires very little resources.

Instead of running a Thread in your script, the containers are its own indiviual Thread. So you just tell Docker how many containers you want to run, and it will run X amount. Which means each container is basically its own VM, of the same script. And its completely headless when running (no GUI).

For example if I ran the script.... with just one thread on my computer, it would open a browser not in headless mode, and I could see it work through the script. Now take that, and put it into Docker. Now its doing the same thing, but is basically on a headless VM. YT cant detect it, because the browser running in the container is not headless, but its headless to you.

If Im confusing you, I'm sorry. Docker took a bit to wrap my head around too. but its a game changer and easy to implement.

If you have a script, I can help you convert it into a Docker image. Nothing has to change with your script, you just have to write a Dockerfile that indicates what the image needs to run your script. For example what pip modules you need, files to add, etc.

cyruskalx commented 3 years ago

Sorry it was just an off note, basically when people run browsers, they arrange the window sizes to fit within their monitor, so they don't overlap one another. Because I believe Selenium won't find elements if you cover the browser. But the problem is they will try and run multiple browsers on their monitor, so they will set their browsers up in a grid like formation to fill their monitor with browsers. Unfortunately they browsers sizes in a grid like formation, are all equal... easy catch. Basically I was just saying that, it sucks to run in non-headless mode, as you want to get as many threads as possible, but its hard to randomize your browsers sizes, if they cant be covered.

Screen Shot 2021-03-25 at 21 31 11

selenium still works, even though browser threads overlap

No not the threads, if you overlap the browsers, like put them on top of each other.

YT will eventually detect that. The AI will see that your views are all coming from a window size or AxB. I tried this, after about 2 weeks my views got deleted.