text: # -*- coding: utf-8 -*-
  import scrapy
  
  
  class ToScrapeSpiderXPath(scrapy.Spider):
      name = 'toscrape-xpath'
      start_urls = [
          'https://civ.dp.ua/contact',
      ]
  
      def parse(self, response):
          for quote in response.xpath('//div[@class="quote"]'):
              yield {
                  'tel': quote.xpath('./span[@class="text"]/text()').extract_first(),
                  'tell': quote.xpath('.//small[@class="author"]/text()').extract_first(),
                  'contact': quote.xpath('.//div[@class="tags"]/a[@class="tag"]/text()').extract()
              }
  
          next_page_url = response.xpath('//li[@class="next"]/a/@href').extract_first()
          if next_page_url is not None:
              yield scrapy.Request(response.urljoin(next_page_url))
  
  