Coder Social home page Coder Social logo

Comments (4)

zxt-tzx avatar zxt-tzx commented on July 1, 2024 1

Ohh it seems like the naming of the CSS selection has changed. Will fix when I find the time!

I wonder if it's possible to login via API, which would presumably be less flaky.

from substack-archives-downloader.

zxt-tzx avatar zxt-tzx commented on July 1, 2024

@Klaudioz have fixed the issue, lmk if it works for you.

In case you're interested in how I fixed it, I downloaded the Selenium IDE extension, clicked around the new interface, and noted the modified CSS / link text of the relevant elements, and modified the code accordingly (see this).

from substack-archives-downloader.

Klaudioz avatar Klaudioz commented on July 1, 2024

Thank you. I checked the code a few days ago but I'm more a backend engineer than a frontend engineer. Even when I've experience with Python and Selenium I'm not very skillful at Chrome debugging.

from substack-archives-downloader.

fredthedead avatar fredthedead commented on July 1, 2024

I think it changed again because I'm getting a similar error:

Please wait while we log in using the credential you provided...
Message: no such element: Unable to locate element: {"method":"css selector","selector":".desktop-button"}
  (Session info: headless chrome=107.0.5304.87)

Unexpected error occurred while logging in.
We're sorry, something has gone wrong.

I tried poking in the dev tools console, but the selector I'm getting is much much longer than what you have there, so I think I got the wrong one?

from substack-archives-downloader.

Related Issues (7)

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.