Git Product home page Git Product logo

Comments (8)

llh1347 avatar llh1347 commented on August 9, 2024

IMG_20220401_222805

from clock-in-gzhu.

LihaoLikeOrangeJuice avatar LihaoLikeOrangeJuice commented on August 9, 2024

from clock-in-gzhu.

LihaoLikeOrangeJuice avatar LihaoLikeOrangeJuice commented on August 9, 2024

from clock-in-gzhu.

llh1347 avatar llh1347 commented on August 9, 2024

脚本运行报错这个
Run python scraper.py

====== WebDriver manager ======
Current google-chrome version is 98.0.4758
Get LATEST chromedriver version for 98.0.4758 google-chrome
There is no [linux64] chromedriver for browser 98.0.4758 in cache
Trying to download new driver from https://chromedriver.storage.googleapis.com/98.0.4758.102/chromedriver_linux64.zip
Driver has been saved in cache [/home/runner/.wdm/drivers/chromedriver/linux64/98.0.4758.102]
登录融合门户成功!
Traceback (most recent call last):
File "/home/runner/work/gzhu_clockIN/gzhu_clockIN/scraper.py", line 231, in
wd_login(xuhao, mima)
File "/home/runner/work/gzhu_clockIN/gzhu_clockIN/scraper.py", line 121, in wd_login
driver.get('https://yqtb.gzhu.edu.cn/infoplus/form/XNYQSB/start')
File "/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 437, in get
self.execute(Command.GET, {'url': url})
File "/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/site-packages/selenium/webdriver/remote/webdriver.py", line 425, in execute
self.error_handler.check_response(response)
File "/opt/hostedtoolcache/Python/3.9.10/x64/lib/python3.9/site-packages/selenium/webdriver/remote/errorhandler.py", line 247, in check_response
raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.TimeoutException: Message: timeout: Timed out receiving message from renderer: -0.003
(Session info: headless chrome=98.0.4758.102)
Stacktrace:
#0 0x564ca6642b33
#1 0x564ca610b6d8
#2 0x564ca60f6f81
#3 0x564ca60f5ccf
#4 0x564ca60f611c
#5 0x564ca61040d0
#6 0x564ca6104ca2
#7 0x564ca611274d
#8 0x564ca611584a
#9 0x564ca60f6546
#10 0x564ca6112454
#11 0x564ca61721da
#12 0x564ca615ef53
#13 0x564ca6134a0a
#14 0x564ca6135ad5
#15 0x564ca66742fd
#16 0x564ca668d4bb
#17 0x564ca66760d5
#18 0x564ca668e145
#19 0x564ca6669aaf
#20 0x564ca66aaba8
#21 0x564ca66aad28
#22 0x564ca66c548d
#23 0x7f5564442609

Error: Process completed with exit code 1.

from clock-in-gzhu.

LihaoLikeOrangeJuice avatar LihaoLikeOrangeJuice commented on August 9, 2024

谢谢你的反馈!
错误信息是说的请求 https://yqtb.gzhu.edu.cn/infoplus/form/XNYQSB/start 这个网址超时了。
我之前少写了一个异常处理,现在已经加上了。
如果你没有其它问题的话,我将会关闭这个Issue

from clock-in-gzhu.

llh1347 avatar llh1347 commented on August 9, 2024

from clock-in-gzhu.

LihaoLikeOrangeJuice avatar LihaoLikeOrangeJuice commented on August 9, 2024

请问你是说在我修改了脚本后,你现在运行这个脚本仍然失败吗?你是否更新了项目?

from clock-in-gzhu.

llh1347 avatar llh1347 commented on August 9, 2024

from clock-in-gzhu.

Related Issues (10)

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.