linkedin-api icon indicating copy to clipboard operation
linkedin-api copied to clipboard

Banned accounts fast

Open mbryde opened this issue 4 years ago • 14 comments

Hello,

I have tried this scraper for a short period of time, and every day even after just looking at a maximum of two people using a single account it get's "banned" / login restricted. So I need to supply a valid ID to unlock the account again. What are you guys experience with getting accounts banned?

mbryde avatar Oct 21 '20 08:10 mbryde

Hi. Probably you are getting so-called ChallengeException (which is 401 with payload CSRF check failed) Check this tool out: https://github.com/everping/Linkedin-Authentication-Challenge

Sinu5oid avatar Nov 01 '20 19:11 Sinu5oid

@Sinu5oid It's not because of any challenges. I have manually created the account in a browser and know it's working. I get no CSRF fails. But my accounts get banned after around 24 hours. Even tho I might just scrape a single persons info.

mbryde avatar Nov 05 '20 12:11 mbryde

I have the same issue. My account was banned immediately. Not sure if it is because they detect my ip address and banned any account from that ip address.

sliao7 avatar Dec 27 '20 16:12 sliao7

I prefer the turtle path: I set scheduled tasks with randomly spaced runtimes and have been running it for weeks now.. :)

diegofcoelho avatar Dec 28 '20 16:12 diegofcoelho

I prefer the turtle path: I set scheduled paths with randomly spaced runtimes and have been running it for weeks now.. :)

Wow! Did you use rotated proxies and clear the cookies?

sliao7 avatar Dec 28 '20 16:12 sliao7

I prefer the turtle path: I set scheduled paths with randomly spaced runtimes and have been running it for weeks now.. :)

Wow! Did you use rotated proxies and clear the cookies?

Not really, but mostly because I am not using many accounts. You can pickle and store the session to avoid logging in too often. I feel like rotating cookies may also trigger LinkedIn that someone is trying to log to the account (like hacking).

diegofcoelho avatar Dec 28 '20 17:12 diegofcoelho

I prefer the turtle path: I set scheduled paths with randomly spaced runtimes and have been running it for weeks now.. :)

Wow! Did you use rotated proxies and clear the cookies?

Not really, but mostly because I am not using many accounts. You can pickle and store the session to avoid logging in too often. I feel like rotating cookies may also trigger LinkedIn that someone is trying to log to the account (like hacking).

Got it! Thank you so much! I tried to set around 1min random sleeping times and was blocked after 50 scrapes. Are you using some longer sleeping times?

sliao7 avatar Dec 28 '20 17:12 sliao7

I prefer the turtle path: I set scheduled paths with randomly spaced runtimes and have been running it for weeks now.. :)

Wow! Did you use rotated proxies and clear the cookies?

Not really, but mostly because I am not using many accounts. You can pickle and store the session to avoid logging in too often. I feel like rotating cookies may also trigger LinkedIn that someone is trying to log to the account (like hacking).

Got it! Thank you so much! I tried to set around 1min random sleeping times and was blocked after 50 scrapes. Are you using some longer sleeping times?

Much longer! Perhaps 1-2 profile scrapes per minute? Think how long you would take to get that info manually and work around that

diegofcoelho avatar Dec 28 '20 17:12 diegofcoelho

I prefer the turtle path: I set scheduled paths with randomly spaced runtimes and have been running it for weeks now.. :)

Wow! Did you use rotated proxies and clear the cookies?

Not really, but mostly because I am not using many accounts. You can pickle and store the session to avoid logging in too often. I feel like rotating cookies may also trigger LinkedIn that someone is trying to log to the account (like hacking).

Got it! Thank you so much! I tried to set around 1min random sleeping times and was blocked after 50 scrapes. Are you using some longer sleeping times?

Much longer! Perhaps 1-2 profile scrapes per minute? Think how long you would take to get that info manually and work around that

I see. Thank you so much for your reply! Happy new year!

sliao7 avatar Dec 28 '20 17:12 sliao7

I prefer the turtle path: I set scheduled paths with randomly spaced runtimes and have been running it for weeks now.. :)

Wow! Did you use rotated proxies and clear the cookies?

Not really, but mostly because I am not using many accounts. You can pickle and store the session to avoid logging in too often. I feel like rotating cookies may also trigger LinkedIn that someone is trying to log to the account (like hacking).

Got it! Thank you so much! I tried to set around 1min random sleeping times and was blocked after 50 scrapes. Are you using some longer sleeping times?

Much longer! Perhaps 1-2 profile scrapes per minute? Think how long you would take to get that info manually and work around that

I see. Thank you so much for your reply! Happy new year!

One more thing. Is there an approximate daily limit for the number of scrapes? Or approximately how many profiles can I get per day?

sliao7 avatar Dec 28 '20 17:12 sliao7

I prefer the turtle path: I set scheduled paths with randomly spaced runtimes and have been running it for weeks now.. :)

Wow! Did you use rotated proxies and clear the cookies?

Not really, but mostly because I am not using many accounts. You can pickle and store the session to avoid logging in too often. I feel like rotating cookies may also trigger LinkedIn that someone is trying to log to the account (like hacking).

Got it! Thank you so much! I tried to set around 1min random sleeping times and was blocked after 50 scrapes. Are you using some longer sleeping times?

Much longer! Perhaps 1-2 profile scrapes per minute? Think how long you would take to get that info manually and work around that

I see. Thank you so much for your reply! Happy new year!

One more thing. Is there an approximate daily limit for the number of scrapes? Or approximately how many profiles can I get per day?

I never heard of a set number as a daily limit for any of the sections @sliao7! And Happy New Year too!!

diegofcoelho avatar Dec 29 '20 01:12 diegofcoelho

I prefer the turtle path: I set scheduled paths with randomly spaced runtimes and have been running it for weeks now.. :)

Wow! Did you use rotated proxies and clear the cookies?

Not really, but mostly because I am not using many accounts. You can pickle and store the session to avoid logging in too often. I feel like rotating cookies may also trigger LinkedIn that someone is trying to log to the account (like hacking).

Got it! Thank you so much! I tried to set around 1min random sleeping times and was blocked after 50 scrapes. Are you using some longer sleeping times?

Much longer! Perhaps 1-2 profile scrapes per minute? Think how long you would take to get that info manually and work around that

I see. Thank you so much for your reply! Happy new year!

One more thing. Is there an approximate daily limit for the number of scrapes? Or approximately how many profiles can I get per day?

I never heard of a set number as a daily limit for any of the sections @sliao7! And Happy New Year too!!

Hey, @diegofcoelho , are you using your personal Linkedin account to scrape? When I use a dummy account without any connection, it gets banned quickly and Linkedin requires me to upload my passport to verify my identity.

sliao7 avatar Dec 31 '20 23:12 sliao7

I prefer the turtle path: I set scheduled paths with randomly spaced runtimes and have been running it for weeks now.. :)

Wow! Did you use rotated proxies and clear the cookies?

Not really, but mostly because I am not using many accounts. You can pickle and store the session to avoid logging in too often. I feel like rotating cookies may also trigger LinkedIn that someone is trying to log to the account (like hacking).

Got it! Thank you so much! I tried to set around 1min random sleeping times and was blocked after 50 scrapes. Are you using some longer sleeping times?

Much longer! Perhaps 1-2 profile scrapes per minute? Think how long you would take to get that info manually and work around that

I see. Thank you so much for your reply! Happy new year!

One more thing. Is there an approximate daily limit for the number of scrapes? Or approximately how many profiles can I get per day?

I never heard of a set number as a daily limit for any of the sections @sliao7! And Happy New Year too!!

Hey, @diegofcoelho , are you using your personal Linkedin account to scrape? When I use a dummy account without any connection, it gets banned quickly and Linkedin requires me to upload my passport to verify my identity.

Yes, mine and from the part interested in the data.

diegofcoelho avatar Dec 31 '20 23:12 diegofcoelho

I'm also having the same problem my account is getting banned so quickly (~50 profile scrapes ). I once scraped around 3000 at a time without getting blocked with a new account. But now it seems impossible to pass the 50 profile. are they tracking IP addresses and blocking? I also tried to google colab but logging in with colab is impossible (since google colab is having some set range of IP address) if anybody finds the solution, please post

lavarthan avatar Jan 09 '21 13:01 lavarthan