Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

提取新闻列表页最后一页,只有一条,提取失败 #122

Open
DestroyLee opened this issue Mar 21, 2022 · 1 comment
Open

提取新闻列表页最后一页,只有一条,提取失败 #122

DestroyLee opened this issue Mar 21, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@DestroyLee
Copy link

DestroyLee commented Mar 21, 2022

bug的现象

  1. 你期望的返回是?
    返回新闻列表list
  2. 实际GNE给你的返回是?
    空列表
    如何复现

最后一页新闻列表只有一条新闻,xpath发生变化,更新xpath之后,返回值依然是空列表

  1. 目标网址
    http://fullsearch.cnepaper.com/eso/hnrb.aspx?__VIEWSTATE=%2FwEPDwULLTE4NTgxMDgzMjQPZBYCAgEPZBYCAgMPDxYEHgtSZWNvcmRjb3VudAI9HhBDdXJyZW50UGFnZUluZGV4AgNkZGTqFTS4WPHLZN%2BhJxsulZDREJaSjQ%3D%3D&__VIEWSTATEGENERATOR=A84F8774&__EVENTTARGET=AspNetPager1&__EVENTARGUMENT=7&__EVENTVALIDATION=%2FwEWBQK%2B%2BOW1CwKMwc%2FlAQK2hea3DQL4p5WKCgLY0YCrARAcVWokehnt5hbTCbSscGhfsBm%2B&search_text=%E6%B6%88%E5%8D%9A%E4%BC%9A&Txt_SiteStart=2022-02-01&Txt_SiteEnd=2022-03-17&lblPaperID=1394
  2. 你怎么调用GNE的

image

屏幕截图

使用环境:

  • OS: macOS
  • Python版本:3.9.10
  • GNE版本 : 0.1.4
@DestroyLee DestroyLee added the bug Something isn't working label Mar 21, 2022
@DestroyLee
Copy link
Author

image

请教一下大于3你是如何判断的,我在没有限制item_list之后,这条新闻能输入

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants