[Python] Bypassing Detection and Scraping Shopee with Selenium Wire and...

Discussão em 'Python' iniciado por Stack, Março 23, 2025.

  1. Stack

    Stack Membro Participativo

    I am trying to make a shopee scraper. It is working fine with the undected_chromedriver but I want to get an API response from the network tab. So I used seleniumwire with undetected_chromedriver but the website was able to detect that it is an automation and threw a login page.

    Here is my code that is not working:

    import seleniumwire.undetected_chromedriver as uc
    import time
    driver = uc.Chrome()
    driver.get('https://shopee.co.id/search?keyword=mobile')
    time.sleep(10)
    driver.close()


    Here is what I am using:

    import undetected_chromedriver as uc
    import time
    driver = uc.Chrome()
    driver.get('https://shopee.co.id/search?keyword=mobile')
    time.sleep(10)
    driver.close()

    Continue reading...

Compartilhe esta Página