title: All expressions from one page
body: <p>I have this code to retrieve information from a page:</p>
  
  <pre><code>def between_strings(source, start='&lt;a href="http://site.com/', end='class'):
      words = []
      while True:
          start_index = source.find(start)
          if start_index == -1:
              break
          end_index = source.find(end)
          words.append(source[start_index+len(start):end_index])
          source = source[end_index+len(end):]
      return words
  
  stat = between_strings(page)
  </code></pre>
  
  <p>I want to get all the values ​​from the page, but this code returns only the first.</p>