r/selenium • • Jul 14 '21

Website detects my Selenium and blocks access

I have want to scrape a website that pretty sure blocks selenium, as I tried the same website on normal firefox and chrome and it loads perfectly well.

I don't know how I can solve this issue ?

0 Upvotes

6 comments sorted by

1

u/romulusnr Jul 14 '21

What do you get that indicates its blocked

1

u/r4nchy Jul 15 '21

- website takes 3-5mins to load in selenium

- websites says it has anti bot mechanism

5

u/rkkrzy Jul 14 '21

You probably shouldn't scrape anything from the site then. If you need to, contact them.

If you're sure it's okay to scrape the content (if you're not it's most certainly not okay in legal terms) then I would check user-agent headers. Also make sure you really need selenium. There are easier ways if you don't require automatic end-to-end actions like operating on just http requests.

1

u/kdeaton06 Jul 15 '21

You don't. They clearly don't want people scraping their site. Take the hint.

1

u/shizaspam Jul 14 '21
  1. use import of profile in browser + headers

  2. other tools to scrape.

just wondering, what site is it? (can be pm). never have this restrictions