Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to locate element #3

Open
Bartek200219 opened this issue Jun 2, 2021 · 4 comments
Open

Unable to locate element #3

Bartek200219 opened this issue Jun 2, 2021 · 4 comments

Comments

@Bartek200219
Copy link

I tried running script and it isn't working. Log: https://paste.ee/p/Bv5NMf

@OxxoCodes
Copy link
Owner

Got a 404 trying to open that paste?
Assuming this is what I believe it to be, it's a known bug with Quizlet-dl not being able to locate the "See More" button. If this is the case, then a patch has been developed and will be pushed soon.

@Bartek200219
Copy link
Author

Sorry, I miss clicked f on keyboard, here is correct link: https://paste.ee/p/Bv5NM

@MagTun
Copy link

MagTun commented Nov 5, 2021

I don't know if you found a way but the solution was either to change the way the title is extracted (it is done around line 90, just below def saveCards(terms, definitions, driver):) .

You could have set the title manually (ex: title="some title") or replace the line with title = driver.find_elements_by_class_name('UIHeading--one')[0].text

Or you can use the file quizlet-dl.py in the pull request I have just submitted.

@Bartek200219
Copy link
Author

Bartek200219 commented Nov 7, 2021

Or you can use the file quizlet-dl.py in the pull request I have just submitted.

Thank you I tested it and it works. I hope more people can use it now.
#4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants