Open
Description
I'm using some xpath like "//center[h2[@Class='chapter' and contains(text()[preceding-sibling::br],'some string')]]/following-sibling::h3[@Class='news-title']"
And here is the error:
** (FunctionClauseError) no function clause matching in Meeseeks.Accumulator.One.add/3
The following arguments were given to Meeseeks.Accumulator.One.add/3:
# 1
%Meeseeks.Accumulator.One{
value: #Meeseeks.Result<{ <h3 class="news-title">some string</h3> }>
}
# 2
#Meeseeks.Document<{...}>
# 3
566
Attempted function clauses (showing 1 out of 1):
def add(%Meeseeks.Accumulator.One{value: nil} = acc, document, id)
I'm not sure what happened, but if I removed [@Class='news-title'] at the end, meeseeks runs normally.
Metadata
Metadata
Assignees
Labels
No labels