title: lxml.etree.XPathEvalError: Invalid predicate
body: <p>I get the following <code>lxml.etree.XPathEvalError: Invalid predicate</code> error:</p>
  <blockquote>
  <p>Traceback (most recent call last):</p>
  <p>File &quot;check_1337.py&quot;, line 18, in </p>
  <pre><code>//div[@class = &quot;_3iyw&quot;]//div[@class = &quot;_6beq _7cdk _6beo&quot;]//div[@class = &quot;_7om2 _3gim _ 7cdk&quot;]//div [@class = &quot;5s61&quot;]//div[@class = &quot;_7cdi&quot;]')
  </code></pre>
  <p>File &quot;src\lxml\etree.pyx&quot;, line 1583, in lxml.etree._Element.xpath</p>
  <p>File &quot;src\lxml\xpath.pxi&quot;, line 305, in lxml.etree.XPathElementEvaluator.<strong>call</strong></p>
  <p>File &quot;src\lxml\xpath.pxi&quot;, line 225, in lxml.etree._XPathEvaluatorBase._handle_result</p>
  <p>lxml.etree.XPathEvalError: Invalid predicate</p>
  </blockquote>
  <p>from the following code:</p>
  <pre><code>from lxml.etree import HTML
  import requests
  
  url = &quot;https://m.facebook.com/?_rdr&quot;
  response = requests.get(url)
  root = HTML(response.content)
  
  tempII = root.find(&quot;body&quot;).xpath('//div[@id = &quot;viewport&quot;]//div[@id = &quot;page&quot;]//div[@id = &quot;rootcontainer]//div[@class = &quot;async_compose _2v9s&quot;]//div[@id = &quot;MRoot&quot;]\
  //div[@class = &quot;_3iyw&quot;]//div[@class = &quot;_6beq _7cdk _6beo&quot;]//div[@class = &quot;_7om2 _3gim _ 7cdk&quot;]//div [@class = &quot;5s61&quot;]//div[@class = &quot;_7cdi&quot;]')
  
  print (tempII)
  </code></pre>
  <p>Can you help me find out the reason for this error?</p>