Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(21) | Call(12) | Derive(0) | Import(9)
src/o/h/oh-mainline-HEAD/vendor/packages/scrapy/scrapy/selector/libxml2sel.py oh-mainline(Download)
from .factories import xmlDoc_from_html, xmlDoc_from_xml from .document import Libxml2Document from .list import XPathSelectorList __all__ = ['HtmlXPathSelector', 'XmlXPathSelector', 'XPathSelector', \
raise ValueError("Invalid XPath: %s" % xpath) if hasattr(xpath_result, '__iter__'): return XPathSelectorList([self.__class__(node=node, parent=self, \ expr=xpath) for node in xpath_result]) else: return XPathSelectorList([self.__class__(node=xpath_result, \ parent=self, expr=xpath)]) else: return XPathSelectorList([])
src/u/n/UnitScan-HEAD/scrapy/selector/libxml2sel.py UnitScan(Download)
from .factories import xmlDoc_from_html, xmlDoc_from_xml from .document import Libxml2Document from .list import XPathSelectorList __all__ = ['HtmlXPathSelector', 'XmlXPathSelector', 'XPathSelector', \
raise ValueError("Invalid XPath: %s" % xpath) if hasattr(xpath_result, '__iter__'): return XPathSelectorList([self.__class__(node=node, parent=self, \ expr=xpath) for node in xpath_result]) else: return XPathSelectorList([self.__class__(node=xpath_result, \ parent=self, expr=xpath)]) else: return XPathSelectorList([])
src/b/o/book-crawler-HEAD/lib/scrapy/selector/libxml2sel.py book-crawler(Download)
from .factories import xmlDoc_from_html, xmlDoc_from_xml from .document import Libxml2Document from .list import XPathSelectorList __all__ = ['HtmlXPathSelector', 'XmlXPathSelector', 'XPathSelector', \
raise ValueError("Invalid XPath: %s" % xpath) if hasattr(xpath_result, '__iter__'): return XPathSelectorList([self.__class__(node=node, parent=self, \ expr=xpath) for node in xpath_result]) else: return XPathSelectorList([self.__class__(node=xpath_result, \ parent=self, expr=xpath)]) else: return XPathSelectorList([])
src/o/h/oh-mainline-HEAD/vendor/packages/scrapy/scrapy/selector/lxmlsel.py oh-mainline(Download)
from scrapy.utils.decorator import deprecated from scrapy.http import TextResponse from .list import XPathSelectorList __all__ = ['HtmlXPathSelector', 'XmlXPathSelector', 'XPathSelector', \
else: result = [self.__class__(root=result, expr=xpath, namespaces=self.namespaces)] return XPathSelectorList(result) def re(self, regex):
src/u/n/UnitScan-HEAD/scrapy/selector/lxmlsel.py UnitScan(Download)
from scrapy.utils.decorator import deprecated from scrapy.http import TextResponse from .list import XPathSelectorList __all__ = ['HtmlXPathSelector', 'XmlXPathSelector', 'XPathSelector', \
else: result = [self.__class__(root=result, expr=xpath, namespaces=self.namespaces)] return XPathSelectorList(result) def re(self, regex):
src/b/o/book-crawler-HEAD/lib/scrapy/selector/lxmlsel.py book-crawler(Download)
from scrapy.utils.decorator import deprecated from scrapy.http import TextResponse from .list import XPathSelectorList __all__ = ['HtmlXPathSelector', 'XmlXPathSelector', 'XPathSelector', \
else: result = [self.__class__(root=result, expr=xpath, namespaces=self.namespaces)] return XPathSelectorList(result) def re(self, regex):
src/o/h/oh-mainline-HEAD/vendor/packages/scrapy/scrapy/selector/dummysel.py oh-mainline(Download)
""" Dummy selectors """ from .list import XPathSelectorList as XPathSelectorList
src/u/n/UnitScan-HEAD/scrapy/selector/dummysel.py UnitScan(Download)
""" Dummy selectors """ from .list import XPathSelectorList as XPathSelectorList
src/b/o/book-crawler-HEAD/lib/scrapy/selector/dummysel.py book-crawler(Download)
""" Dummy selectors """ from .list import XPathSelectorList as XPathSelectorList