python - 这个错误是什么意思,我不明白 '[1006/094704.464:INFO:CONSOLE(1)] "ERROR [object Object]"
问题描述
当我运行我的 python 刮板代码时,这个错误出现在我的 cmd 中。我的代码尝试使用 selenium 抓取网站,当我的代码尝试获取某些内容时,此错误不断出现。
这个问题只是为了消除我的疑问,为什么我会得到这个。
[1006/094704.464:INFO:CONSOLE(1)] "ERROR [object Object]", source: https://example.com/token-assets/8e3b439bc40554e4bcb656864e9a1324/main.js (1)
[1006/094705.880:INFO:CONSOLE(1)] "ERROR [object Object]", source: https://example.com/token-assets/8e3b439bc40554e4bcb656864e9a1324/main.js (1)
full <section class="ng-star-inserted" id="description"><!-- --><h2 class="sam-ui header"><!-- --><!-- --><!-- --><!-- -->Description<!-- --><!-- --></h2><!-- --><!-- --><div class="sam-ui hidden section divider"></div></section>
outD = None
div = 1 page = 1 and data equal to{'close_date': '0000-00-00', 'itemLink': 'https://example.com/opp/8f1efc97df214010b46631c74e6a8aa0/view?keywords=&sort=-modifiedDate&index=opp&is_active=true&page=1', 'organization': 'AGRICULTURE, DEPARTMENT OF', 'downloads': '', 'desc': 'Desc not found ', 'title': 'Potato Processing Floor Polishing'}
[1006/094709.813:INFO:CONSOLE(1)] "ERROR [object Object]", source: https://example.com/token-assets/8e3b439bc40554e4bcb656864e9a1324/main.js (1)
[1006/094713.079:INFO:CONSOLE(1)] "ERROR [object Object]", source: https://example.com/token-assets/8e3b439bc40554e4bcb656864e9a1324/main.js (1)
正如您在尝试从 div 读取一些数据之前看到的那样,它出现然后我打印我的抓取数据,当它用于下一个 div 时,它再次出现,我再次获得我的第二个 div 内容。
解决方案
推荐阅读
- html - 使用 SVG 堆叠蒙版 div 的内容
- android - 删除重复值并从 firebas 中仅显示一个
- javascript - 放不下
- c++ - C++:为什么输出迭代器不支持比较操作?
- godot - 如何在脚本中播放 AnimationPlayer 一次。戈多引擎
- java - 使用 Dom 解析器解析单节点 xml 文件
- r - R:混合效应模型中随机效应的协方差矩阵
- parsing - 您如何在 Antlr4 的语法操作中引用可选规则“规则名称?”?
- windows - 为什么取消选中“启用运行时主题”会禁用按 Ctrl + A 的全选?
- javascript - Angular 5 FormGroup 验证器 Web 服务结果未触发 ngIF hasError