Surprise! We've been running on hardware provided by BuyVM for a few months and wanted to show them a little appreciation.
Running a paste site comes with unique challenges, ones that aren't always obvious and hard to control. As such, BuyVM offered us a home where we could worry less about the hosting side of things and focus on maintaining a clean and useful service! Go check them out and show them some love!
Submitted on June 2, 2021 at 10:01 PM

New Paste 1 (Auto Detect)

python quizlet-dl.py https://quizlet.com/pl/598533573/angielski-cz2-flash-cards/ asd
Traceback (most recent call last):
  File "C:\Users\Bartek\Projekty\Quizlet-dl\quizlet-dl.py", line 136, in <module>
    main()
  File "C:\Users\Bartek\Projekty\Quizlet-dl\quizlet-dl.py", line 131, in main
    scrapeSet(driver)
  File "C:\Users\Bartek\Projekty\Quizlet-dl\quizlet-dl.py", line 78, in scrapeSet
    saveCards(terms, definitions, driver)
  File "C:\Users\Bartek\Projekty\Quizlet-dl\quizlet-dl.py", line 81, in saveCards
    title = driver.find_element_by_xpath('/html/body/div[3]/div[2]/div[1]/div[2]/div/div[1]/div[1]/div/div/div[1]/h1').text
  File "C:\Users\Bartek\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\selenium\webdriver\remote\webdriver.py", line 394, in find_element_by_xpath
    return self.find_element(by=By.XPATH, value=xpath)
  File "C:\Users\Bartek\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\selenium\webdriver\remote\webdriver.py", line 976, in find_element
    return self.execute(Command.FIND_ELEMENT, {
  File "C:\Users\Bartek\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\selenium\webdriver\remote\webdriver.py", line 321, in execute
    self.error_handler.check_response(response)
  File "C:\Users\Bartek\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\selenium\webdriver\remote\errorhandler.py", line 242, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.NoSuchElementException: Message: Unable to locate element: /html/body/div[3]/div[2]/div[1]/div[2]/div/div[1]/div[1]/div/div/div[1]/h1