Skip to content

又来提Bug的来了-对数组选择支持不良好 #69

Description

@friddle

假如大神不嫌麻烦的话帮我看一下,假如麻烦的话我自己去试用其他库。
用Xpath提取:
html.xpath("//li/em[@Class="count"]").all():
得出值为ArrayList:
4.8
4.8
4.8

html.xpath("//li/em[@Class="count"][0]").all()
得出为空
html.xpath("//li/em[@Class="count"][1]").all()
得出第一个表达式的值

同样的情况发生在text(1)上面。xpath("//li/em[@Class="count"]/text(1)")

是什么原因造成的?
祝好。

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions