-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Randomize delay between connects? #4
Comments
yes, I agree it looks more like more human to me, we can create random sleep by taking a random number form 1-10 and then use that number in the sleep |
Thanks @metaperl and @sandeepnegi1996 , I will add this too. |
Sure.
…On Wed, Jul 28, 2021 at 6:45 AM Prabal Jain ***@***.***> wrote:
but what if the page loads in 6 sec and the sleep is of 5 sec, it will
throw an exception noSuchElement found, btw i have an solution for this i
wrote try and except block of code which ensures if there is element
present or not and if no such element is present it will sleep for 2 sec
then again try for that try block; look how i implimented in my small
script of linkedin
[image: image]
<https://user-images.githubusercontent.com/62801988/127309672-f13e0317-1c80-4f6c-a103-77af4f569001.png>
should i improve your code and merge to this repo?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#4 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAFGLMK5TSNG55WSGVXHWLTZ7NUNANCNFSM4RNV5JIA>
.
--
Terrence Brannon
http://www.metalevel.link
|
Closed
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Have you thought about having the about of time slept between various actions be a random number within a range of seconds? This way, the behavior seems more human.
The text was updated successfully, but these errors were encountered: