title: DiDom - file_get_contents, HTTP Request generates Error: 404 Not Found
body: <p>I'm using the <a href="https://github.com/Imangazaliev/DiDOM" rel="nofollow noreferrer">didom</a> library on localhost. What can be the solution to this error when I get an error when it comes to a url that has a 404 page?</p>
  
  <pre><code>    use DiDom\Document;
      $dr = new Document($product-&gt;dr, true);
      $drcom = $dr-&gt;first('.product-price')-&gt;xpath('//p')[0]-&gt;text();
  
      echo $drcom;
  
  </code></pre>
  
  <p>Error Result</p>
  
  <pre><code>Severity: Warning
  
  Message: file_get_contents(https://www.dr.com.tr/Kitap/Kordugum/Edebiyat/Roman/Dunya-Roman/urunno=000000054584545445): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
  
  Filename: DiDom/Document.php
  
  Line Number: 372
  
  Backtrace:
  
  File: C:\xampp\htdocs\vendor\imangazaliev\didom\src\DiDom\Document.php
  Line: 372
  Function: file_get_contents
  
  </code></pre>