You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sel = parsel.Selector(text=u'<html><body><span>go od</span></body></html>') sel.xpath('//body').extract()
For the above two lines of code, we'll get an output like this: ['<body><span>go\xa0od</span></body>']
I'm curious is there a way to get an output like this, with the original html entities in it without any conversion? ['<body><span>go od</span></body>']
The text was updated successfully, but these errors were encountered:
sel = parsel.Selector(text=u'<html><body><span>go od</span></body></html>') sel.xpath('//body').extract()
For the above two lines of code, we'll get an output like this:
['<body><span>go\xa0od</span></body>']
I'm curious is there a way to get an output like this, with the original html entities in it without any conversion?
['<body><span>go od</span></body>']
The text was updated successfully, but these errors were encountered: