Access Denied when trying to access a website using selenium

  python-3.x, selenium

I am trying to access a website using selenium, but I got denied. I am running on windows computer.

The message I got when trying to access the website:

Access Denied
You don’t have permission to access "http://www.blibli.com/login?" on this server.
Reference #18.86fa3b17.1634227013.1a33b6

Is there anything I can do to access it using selenium?

Thank you.

Below is my code:

from selenium import webdriver
from time import sleep

CHROME_DRIVER_PATH = "C:Developmentchromedriver_win32chromedriver.exe"
URL = "https://www.blibli.com/member/order/retail/ongoing"
EMAIL = "[email protected]"
BLIBLI_PASSWORD = "Ricky268928"




class Blibli:
    def __init__(self):
        self.driver = webdriver.Chrome(executable_path=CHROME_DRIVER_PATH)

    def login(self):
        self.driver.get(URL)

    def get_data(self):
        pass

bot = Blibli()
bot.login()
bot.get_data()

Source: Python-3x Questions

LEAVE A COMMENT