title: BeautifulSoup - how to select separate values?
body: <p>In my scrapper I use .select(&quot;div.class-name&quot;) method but have a trouble: it returns non-separated values.</p>
  <p>Structure of my html:</p>
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="class-name"&gt;
     &lt;div&gt;Text1&lt;/div&gt;
     &lt;div&gt;Text2&lt;/div&gt;
     &lt;div&gt;Text3&lt;/div&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  <p>And as a result it gives me a list [&quot;Text1Text2Text3&quot;]. Is there any way to separate it as in html?</p>