Giter VIP home page Giter VIP logo

Comments (11)

jdholtz avatar jdholtz commented on August 9, 2024 1

Oh, gotcha. Yes, I will add compatibility for that if I end up going with Playwright.

from auto-southwest-check-in.

causefx avatar causefx commented on August 9, 2024 1

it seems fixed so far :) thank you!

from auto-southwest-check-in.

jdholtz avatar jdholtz commented on August 9, 2024

Does this issue happen every time or just every so often?

from auto-southwest-check-in.

causefx avatar causefx commented on August 9, 2024

not sure yet... i set it up yesterday and it tried checking in today... i manually checked in when it failed. when i added the verbose flag to the command key for compose and started it back up it picked up that i was checked in. I will leave it running with verbose and see if it checks in for my return flight. cheers!

from auto-southwest-check-in.

jdholtz avatar jdholtz commented on August 9, 2024

It seems to be an issue that occurs every so often with Selenium. I might try switching to Playwright soon and see if that fixes a lot of the driver-related issues

from auto-southwest-check-in.

causefx avatar causefx commented on August 9, 2024

makes sense... if you make the switch you will allow playwright driver url to be configured for docker?

from auto-southwest-check-in.

jdholtz avatar jdholtz commented on August 9, 2024

Do you mean the “chromedriver_path” configuration option? If so, I will if it needs to be. I’m not too sure how Playwright works, so that might not even be needed

from auto-southwest-check-in.

causefx avatar causefx commented on August 9, 2024

I run playwright in its own container at the moment and another project that can use it allows me to pass the websocket url to it via ENV so it can use that instance of Playwright.

- PLAYWRIGHT_DRIVER_URL=ws://docker.home.lab:5903/?stealth=1&--disable-web-security=true

from auto-southwest-check-in.

jdholtz avatar jdholtz commented on August 9, 2024

I added more resistance to random errors like this while initializing the webdriver. Let me know if you run into any more issues related to this.

from auto-southwest-check-in.

jdholtz avatar jdholtz commented on August 9, 2024

Hey @causefx, I've been messing around with Playwright for a few hours and I am not able to bypass Southwest's bot protection. Unfortunately, I didn't find a Python library similar to undetected_chromedriver for Playwright either. Let me know if you have any suggestions or know of other projects that use Playwright to navigate around bot detection.

from auto-southwest-check-in.

causefx avatar causefx commented on August 9, 2024

hey there @jdholtz, I don't know of a way to circumvent the bot detection with Playwright.... I guess we are just going to need to use Selenium. Thank you for trying to get it to work.

from auto-southwest-check-in.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.