title: Scrapy. find a tag by its content
body: <p>How to find a tag by its content? This is how I find the necessary elements, but the structure on some pages is different and this does not always work.</p>
  
  <pre><code>yield {
              ...
              'Education': response.css('.provider-item:nth-child(3) .h2-style+ span::text').get(),
              'Training': response.css('.provider-item:nth-child(4) .h2-style+ span::text').get(),
              ...                
          }
  </code></pre>