Scrapy 1.4 Documentation'http://quotes.toscrape.com/tag/humor/', ] def parse(self, response): for quote in response.css('div.quote'): yield { 'text': quote.css('span.text::text').extract_first(), Each quote in http://quotes.toscrape.com is represented by HTML elements that look like this: <div class="quote"> “The world as we have created it is a process of our thinking class="author">Albert Einstein (about) <div class="tags"> Tags: change0 码力 | 394 页 | 589.10 KB | 1 年前3
Scrapy 1.6 Documentation'http://quotes.toscrape.com/tag/humor/', ] def parse(self, response): for quote in response.css('div.quote'): yield { 'text': quote.css('span.text::text').get(), 'author': quote.xpath('span/small/text()') Each quote in http://quotes.toscrape.com is represented by HTML elements that look like this: <div class="quote"> “The world as we have created it is a process of our thinking. It Albert Einstein (about) <div class="tags"> Tags: change 0 码力 | 295 页 | 1.18 MB | 1 年前3
django cms 3.3.x Documentation%} <div class="jumbotron"> {% placeholder "feature" %} div> <div> {% placeholder "content" %} div> <div> {% placeholder "splashbox" %} div> {% endblock poll.id %}" method="post"> {% csrf_token %} <div class="form-group"> {% for choice in instance.poll.choice_set.all %} <div class="radio"> div> {% endfor %} div> Integrate the polls_cms_integration0 码力 | 386 页 | 1.56 MB | 1 年前3
Scrapy 2.1 Documentation'http://quotes.toscrape.com/tag/humor/', ] def parse(self, response): for quote in response.css('div.quote'): yield { 'author': quote.xpath('span/small/text()').get(), 'text': quote.css('span.text::text') Each quote in http://quotes.toscrape.com is represented by HTML elements that look like this: <div class="quote"> “The world as we have created it is a process of our thinking. It Albert Einstein (about) <div class="tags"> Tags: change 0 码力 | 342 页 | 1.32 MB | 1 年前3
Scrapy 2.2 Documentation'http://quotes.toscrape.com/tag/humor/', ] def parse(self, response): for quote in response.css('div.quote'): yield { 'author': quote.xpath('span/small/text()').get(), 'text': quote.css('span.text::text') Each quote in http://quotes.toscrape.com is represented by HTML elements that look like this: <div class="quote"> “The world as we have created it is a process of our thinking. It Albert Einstein (about) <div class="tags"> Tags: change 0 码力 | 348 页 | 1.35 MB | 1 年前3
Scrapy 2.4 Documentation'http://quotes.toscrape.com/tag/humor/', ] def parse(self, response): for quote in response.css('div.quote'): yield { 'author': quote.xpath('span/small/text()').get(), 'text': quote.css('span.text::text') Each quote in http://quotes.toscrape.com is represented by HTML elements that look like this: <div class="quote"> “The world as we have created it is a process of our thinking. It Albert Einstein (about) <div class="tags"> Tags: change 0 码力 | 354 页 | 1.39 MB | 1 年前3
Scrapy 2.3 Documentation'http://quotes.toscrape.com/tag/humor/', ] def parse(self, response): for quote in response.css('div.quote'): yield { 'author': quote.xpath('span/small/text()').get(), 'text': quote.css('span.text::text') Each quote in http://quotes.toscrape.com is represented by HTML elements that look like this: <div class="quote"> “The world as we have created it is a process of our thinking. It Albert Einstein (about) <div class="tags"> Tags: change 0 码力 | 352 页 | 1.36 MB | 1 年前3
django cms 3.1.x Documentation'polls:vote' instance.poll.id %}" method="post"> {% csrf_token %} <div class="form-group"> {% for choice in instance.poll.choice_set.all %} <div class="radio"> div> {% endfor %} div> 14 Chapter 5. Table of contents django cms Documentation, Release 3- {{ entry.question }}
- {{ entry.answer }}
{% endfor %} {% if is_paginated %} <div class="pagination"> {% if page_obj.has_previous %} 0 码力 | 200 页 | 1.63 MB | 1 年前3
Scrapy 2.0 Documentation'http://quotes.toscrape.com/tag/humor/', ] def parse(self, response): for quote in response.css('div.quote'): yield { 'author': quote.xpath('span/small/text()').get(), 'text': quote.css('span.text::text') Each quote in http://quotes.toscrape.com is represented by HTML elements that look like this: <div class="quote"> “The world as we have created it is a process of our thinking. It Albert Einstein (about) <div class="tags"> Tags: change 0 码力 | 336 页 | 1.31 MB | 1 年前3
Scrapy 1.7 Documentation'http://quotes.toscrape.com/tag/humor/', ] def parse(self, response): for quote in response.css('div.quote'): yield { 'text': quote.css('span.text::text').get(), 'author': quote.xpath('span/small/text()') Each quote in http://quotes.toscrape.com is represented by HTML elements that look like this: <div class="quote"> “The world as we have created it is a process of our thinking. It Albert Einstein (about) <div class="tags"> Tags: change 0 码力 | 306 页 | 1.23 MB | 1 年前3
共 267 条
- 1
- 2
- 3
- 4
- 5
- 6
- 27













