Giter Club home page Giter Club logo

Comments (3)

Duff89 avatar Duff89 commented on July 16, 2024
url = title.find_element(*LocatorAvito.URL).get_attribute("href")
      │     │             │            └ ('css selector', "[data-marker='item-title']")
      │     │             └ <class 'locator.LocatorAvito'>
      │     └ <function WebElement.find_element at 0x0000028E43522B60>
      └ <seleniumbase.undetected.webelement.WebElement (session="cb5c86a08f9621887be1e1cfaf527ff5", element="70A08F309A729EADBEED4650...

File "D:\GitRepo\parser_avito.venv\Lib\site-packages\selenium\webdriver\remote\webelement.py", line 178, in get_attribute attribute_value = self.parent.execute_script( │ └ <property object at 0x0000028E43526750> └ <seleniumbase.undetected.webelement.WebElement (session="cb5c86a08f9621887be1e1cfaf527ff5", element="70A08F309A729EADBEED4650... File "D:\GitRepo\parser_avito.venv\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 408, in execute_script return self.execute(command, {"script": script, "args": converted_args})["value"] │ │ │ │ └ [<seleniumbase.undetected.webelement.WebElement (session="cb5c86a08f9621887be1e1cfaf527ff5", element="70A08F309A729EADBEED465... │ │ │ └ '/* getAttribute */return (function(){return (function(){var h=this||self;function aa(a){return"string"==typeof a}function ba... │ │ └ 'w3cExecuteScript' │ └ <function WebDriver.execute at 0x0000028E434F5620> └ <seleniumbase.undetected.Chrome (session="cb5c86a08f9621887be1e1cfaf527ff5")> File "D:\GitRepo\parser_avito.venv\Lib\site-packages\selenium\webdriver\remote\webdriver.py", line 348, in execute self.error_handler.check_response(response) │ │ │ └ {'status': 500, 'value': '{"value":{"error":"script timeout","message":"script timeout\n (Session info: chrome=121.0.6167.1... │ │ └ <function ErrorHandler.check_response at 0x0000028E43555B20> │ └ <selenium.webdriver.remote.errorhandler.ErrorHandler object at 0x0000028E45E081A0> └ <seleniumbase.undetected.Chrome (session="cb5c86a08f9621887be1e1cfaf527ff5")> File "D:\GitRepo\parser_avito.venv\Lib\site-packages\selenium\webdriver\remote\errorhandler.py", line 229, in check_response raise exception_class(message, screen, stacktrace) │ │ │ └ ['\tGetHandleVerifier [0x00007FF7CFE25E42+3538674]', '\t(No symbol) [0x00007FF7CFA44C02]', '\t(No symbol) [0x00007FF7CF8F599D... │ │ └ None │ └ 'script timeout\n (Session info: chrome=121.0.6167.140)' └ <class 'selenium.common.exceptions.TimeoutException'>

selenium.common.exceptions.TimeoutException: Message: script timeout (Session info: chrome=121.0.6167.140) Stacktrace: GetHandleVerifier [0x00007FF7CFE25E42+3538674] (No symbol) [0x00007FF7CFA44C02] (No symbol) [0x00007FF7CF8F599D] (No symbol) [0x00007FF7CF97CB92] (No symbol) [0x00007FF7CF95F0AA] (No symbol) [0x00007FF7CF97BDE3] (No symbol) [0x00007FF7CF95EE53] (No symbol) [0x00007FF7CF92F514] (No symbol) [0x00007FF7CF930631] GetHandleVerifier [0x00007FF7CFE56CAD+3738973] GetHandleVerifier [0x00007FF7CFEAC506+4089270] GetHandleVerifier [0x00007FF7CFEA4823+4057299] GetHandleVerifier [0x00007FF7CFB75C49+720121] (No symbol) [0x00007FF7CFA5126F] (No symbol) [0x00007FF7CFA4C304] (No symbol) [0x00007FF7CFA4C432] (No symbol) [0x00007FF7CFA3BD04] BaseThreadInitThunk [0x00007FFBF91A257D+29] RtlUserThreadStart [0x00007FFBF9E8AA58+40]

Ок, произошла ошибка, сервер не ответил вовремя. В чем вопрос? Или эта ошибка возникает теперь постоянно?

from parser_avito.

surgutandrey avatar surgutandrey commented on July 16, 2024

Вчера я данную ошибку наблюдал раз 10

from parser_avito.

Duff89 avatar Duff89 commented on July 16, 2024

Это парсинг защищенного сайта. Ошибки будут всегда, я могу их вообще скрыть для показа, но так будет сложнее разобраться в случае реального сбоя

from parser_avito.

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.