Giter VIP home page Giter VIP logo

Comments (2)

RemyHaijie avatar RemyHaijie commented on August 30, 2024

同样的问题,求解决
Scanning the book:"机器学习算法的数学解析与Python实现" Traceback (most recent call last): File "C:\Users\remychen\Downloads\WeReadScan-html-variant\WeReadScan-html-variant\example\demo.py", line 30, in weread.scan2html('https://weread.qq.com/web/reader/2c632ef071a486a92c60226kc81322c012c81e728d9d180') File "D:\software\Python\Lib\site-packages\WeReadScan\WeRead.py", line 189, in scan2html html = self.get_html(book_url) ^^^^^^^^^^^^^^^^^^^^^^^ File "D:\software\Python\Lib\site-packages\WeReadScan\WeRead.py", line 163, in get_html readerFooterClass = readerFooter.get_attribute('class') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\software\Python\Lib\site-packages\selenium\webdriver\remote\webelement.py", line 178, in get_attribute attribute_value = self.parent.execute_script( ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\software\Python\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 406, in execute_script return self.execute(command, {"script": script, "args": converted_args})["value"] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "D:\software\Python\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 346, in execute self.error_handler.check_response(response) File "D:\software\Python\Lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 245, in check_response raise exception_class(message, screen, stacktrace) selenium.common.exceptions.StaleElementReferenceException: Message: stale element reference: stale element not found (Session info: headless chrome=115.0.5790.102); For documentation on this error, please visit: https://www.selenium.dev/documentation/webdriver/troubleshooting/errors#stale-element-reference-exception Stacktrace: Backtrace:

from wereadscan.

Algebra-FUN avatar Algebra-FUN commented on August 30, 2024

在最新的WeReadScan-HTML v0.1.1中已经解决该问题, 欢迎下载最新版本

pip install WeReadScan-HTML==0.1.1

from wereadscan.

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.