Closed rajasankar closed 6 years ago
Getting
> raise SyntaxError("cannot use absolute path on element") > SyntaxError: cannot use absolute path on element >
Fixed when replacing all xpaths starting with // into .//
//
.//
article_meta = tree.find('//article-meta') to article_meta = tree.find('.//article-meta')
Thanks. Can you give an example of a file that produces this error?
Getting
Fixed when replacing all xpaths starting with
//
into.//