title: Web Scraping in Python, confused with path
body: <p>I have basic knowledge of scraping.
  Here is a basic example:</p>
  
  <pre><code>page = requests.get('some_website.com')
  tree = html.fromstring(page.text)
  desc = tree.path('//div[@class = "my class"]/text()')
  </code></pre>
  
  <p>And my desc would return whatever is in that <code>div</code>.
  But how do I proceed if my javascript is more complex</p>
  
  <pre><code>&lt;tr&gt;
      &lt;th class="my class"&gt;some text&lt;/th&gt;
      &lt;td&gt;some text&lt;/td&gt;
  &lt;/tr&gt;
  </code></pre>
  
  <p>I need only the part that is inside <code>&lt;td&gt;&lt;/td&gt;</code> that is inside <code>&lt;tr&gt;&lt;/tr&gt;</code>
  And how would I proceed if the <code>&lt;tr&gt;</code> would be inside a <code>&lt;div&gt;</code></p>