mirror of https://github.com/scrapy/scrapy.git
default xpath selector was html
This commit is contained in:
parent
a9eb0b74c8
commit
e4d6e2eb31
|
|
@ -10,7 +10,7 @@ __all__ = ['HtmlXPathSelector', 'XmlXPathSelector', 'XPathSelector',
|
|||
|
||||
class XPathSelector(Selector):
|
||||
__slots__ = ()
|
||||
default_contenttype = 'xml'
|
||||
default_contenttype = 'html'
|
||||
|
||||
|
||||
class XmlXPathSelector(XPathSelector):
|
||||
|
|
|
|||
Loading…
Reference in New Issue