I have an html response to a string. I am trying to make an HtmlXPathSelector from it, so that I can use xpaths on it. But it shows
TypeError: cannot create weak reference to 'str' obj
Any idea how to convert the string to a response object that accepts an HtmlXPathSelector?
source share