gevent-socketio Documentation Release 0.3.1
in your framework. Note: you need to use the gevent python WSGI server to use gevent- socketio. Namespaces: since you mostly have one websocket/socket.io endpoint per website, it is important to be able site, just like you need routes to map URLs to different parts of your code. The Socket.IO 0.7+ namespaces are a welcome addition, and if you don’t use Socket.IO, you’ll probably end-up writing your own are stateful (like a Websocket), and exposes the same functionality for all. You can have many namespaces inside a Socket, each delimited by their name like /chat, /filesystem or /foobar. Note also that0 码力 | 91 页 | 118.05 KB | 1 年前3Scrapy 0.22 Documentation
the node (or element) to iterate in. Example: itertag = 'product' namespaces A list of (prefix, uri) tuples which define the namespaces available in that document that will be processed with this spider automatically register namespaces using the register_namespace() method. You can then specify nodes with namespaces in the itertag attribute. Example: class YourSpider(XMLFeedSpider): namespaces = [('n', selectors also support some EXSLT [http://www.exslt.org/] extensions and come with these pre-registered namespaces to use in XPath expressions: prefix namespace usage re http://exslt.org/regular-expressions regular0 码力 | 303 页 | 566.66 KB | 1 年前3Scrapy 0.20 Documentation
the node (or element) to iterate in. Example: itertag = 'product' namespaces A list of (prefix, uri) tuples which define the namespaces available in that document that will be processed with this spider automatically register namespaces using the register_namespace() method. You can then specify nodes with namespaces in the itertag attribute. Example: class YourSpider(XMLFeedSpider): namespaces = [('n', this Selector. Without registering namespaces you can’t select or extract data from non-standard namespaces. See examples below. remove_namespaces() Remove all namespaces, allowing to traverse the document0 码力 | 276 页 | 564.53 KB | 1 年前3Scrapy 0.24 Documentation
the node (or element) to iterate in. Example: itertag = 'product' namespaces A list of (prefix, uri) tuples which define the namespaces available in that document that will be processed with this spider automatically register namespaces using the register_namespace() method. You can then specify nodes with namespaces in the itertag attribute. Example: class YourSpider(XMLFeedSpider): namespaces = [('n', also support some EXSLT [http://www.exslt.org/] extensions and come with these pre-registered namespaces to use in XPath expressions: prefix namespace usage re http://exslt.org/regular-expressions regular0 码力 | 298 页 | 544.11 KB | 1 年前3Scrapy 1.0 Documentation
the node (or element) to iterate in. Example: itertag = 'product' namespaces A list of (prefix, uri) tuples which define the namespaces available in that document that will be processed with this spider automatically register namespaces using the register_namespace() method. You can then specify nodes with namespaces in the itertag attribute. Example: class YourSpider(XMLFeedSpider): namespaces = [('n', selectors also support some EXSLT [http://exslt.org/] extensions and come with these pre-registered namespaces to use in XPath expressions: prefix namespace usage re http://exslt.org/regular-expressions regular0 码力 | 303 页 | 533.88 KB | 1 年前3Scrapy 1.7 Documentation
the node (or element) to iterate in. Example: itertag = 'product' namespaces A list of (prefix, uri) tuples which define the namespaces available in that document that will be processed with this spider automatically register namespaces using the register_namespace() method. You can then specify nodes with namespaces in the itertag attribute. Example: class YourSpider(XMLFeedSpider): namespaces = [('n', discarded alternate links are stored in a list with the key alternate (see sitemap_alternate_links) namespaces are removed, so lxml tags named as {namespace}tagname become only tagname If you omit this method0 码力 | 391 页 | 598.79 KB | 1 年前3Scrapy 1.6 Documentation
the node (or element) to iterate in. Example: itertag = 'product' namespaces A list of (prefix, uri) tuples which define the namespaces available in that document that will be processed with this spider automatically register namespaces using the register_namespace() method. You can then specify nodes with namespaces in the itertag attribute. Example: class YourSpider(XMLFeedSpider): namespaces = [('n', discarded alternate links are stored in a list with the key alternate (see sitemap_alternate_links) namespaces are removed, so lxml tags named as {namespace}tagname become only tagname If you omit this method0 码力 | 374 页 | 581.88 KB | 1 年前3Scrapy 0.18 Documentation
the node (or element) to iterate in. Example: itertag = 'product' namespaces A list of (prefix, uri) tuples which define the namespaces available in that document that will be processed with this spider automatically register namespaces using the register_namespace() method. You can then specify nodes with namespaces in the itertag attribute. Example: class YourSpider(XMLFeedSpider): namespaces = [('n', XPathSelector. Without registering namespaces you can’t select or extract data from non-standard namespaces. See examples below. remove_namespaces() Remove all namespaces, allowing to traverse the document0 码力 | 273 页 | 523.49 KB | 1 年前3Scrapy 1.3 Documentation
the node (or element) to iterate in. Example: itertag = 'product' namespaces A list of (prefix, uri) tuples which define the namespaces available in that document that will be processed with this spider automatically register namespaces using the register_namespace() method. You can then specify nodes with namespaces in the itertag attribute. Example: class YourSpider(XMLFeedSpider): namespaces = [('n', selectors also support some EXSLT [http://exslt.org/] extensions and come with these pre-registered namespaces to use in XPath expressions: prefix namespace usage re http://exslt.org/regular-expressions regular0 码力 | 339 页 | 555.56 KB | 1 年前3Scrapy 2.0 Documentation
the node (or element) to iterate in. Example: itertag = 'product' namespaces A list of (prefix, uri) tuples which define the namespaces available in that document that will be processed with this spider automatically register namespaces using the register_namespace() method. You can then specify nodes with namespaces in the itertag attribute. Example: class YourSpider(XMLFeedSpider): namespaces = [('n', discarded alternate links are stored in a list with the key alternate (see sitemap_alternate_links) namespaces are removed, so lxml tags named as {namespace}tagname become only tagname If you omit this method0 码力 | 419 页 | 637.45 KB | 1 年前3
共 198 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20