Quizlet-dl icon indicating copy to clipboard operation
Quizlet-dl copied to clipboard

Unable to locate element

Open Bartek200219 opened this issue 4 years ago • 4 comments

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

Bartek200219 avatar Jun 02 '21 22:06 Bartek200219

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.

OxxoCodes avatar Jun 02 '21 22:06 OxxoCodes

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

Bartek200219 avatar Jun 07 '21 14:06 Bartek200219

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.

MagTun avatar Nov 05 '21 15:11 MagTun

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. https://github.com/OxxoCodes/Quizlet-dl/pull/4

Bartek200219 avatar Nov 07 '21 17:11 Bartek200219