title: Goutte crawler get style
body: <p>I am using Goutte crawler.
  So, for the few hours, I was trying to get a style attribute of a div in a search page with specific query, and this style have a Background-img.
  So first I made a GET request to the url by</p>
  <pre><code>   $crawler = $client-&gt;request('GET',&quot;https://www.esheeq.net/search/مسلسل+علي+رضا&quot;);
  </code></pre>
  <p>and then crawled it by</p>
  <pre><code>$crawler-&gt;filter(&quot;.imgBg&quot;)-&gt;attr(&quot;style&quot;)
  </code></pre>
  <p>and printed it, and it worked, but the problem is when I change the search query such as (<a href="https://www.esheeq.net/search/%D9%85%D8%B3%D9%84%D8%B3%D9%84+%D8%A7%D9%84%D8%BA%D8%B1%D9%81%D8%A9+%D8%A7%D9%84%D8%AD%D9%85%D8%B1%D8%A7%D8%A1" rel="nofollow noreferrer">https://www.esheeq.net/search/مسلسل+الغرفة+الحمراء</a>), it throw an error</p>
  <pre><code>Fatal error: Uncaught InvalidArgumentException: The current node list is empty. in C:\xampp\htdocs\esheeqAPI\vendor\symfony\dom-crawler\Crawler.php:550 Stack trace: #0 C:\xampp\htdocs\esheeqAPI\api\functions.php(8): Symfony\Component\DomCrawler\Crawler-&gt;attr('style') #1 C:\xampp\htdocs\esheeqAPI\api\tests.php(4): InsertMultipleSeries() #2 {main} thrown in C:\xampp\htdocs\esheeqAPI\vendor\symfony\dom-crawler\Crawler.php on line 550
  </code></pre>
  <p>but when I open the url I requested it show me a div of class imgBg that have a style attribute. Then why I am getting error, and how can I solve it.</p>