code: def search_results_last_url(html, xpath, label):
      
      for container in html.findall(xpath):
          if container.text_content().strip() == label:
              return container.find('.//a').get('href')
docs: Get the URL of the 'last' button in a search results listing.