diff --git a/src/Graby.php b/src/Graby.php
index <HASH>..<HASH> 100644
--- a/src/Graby.php
+++ b/src/Graby.php
@@ -535,7 +535,7 @@ class Graby
 
                 if ($mimeInfo['mime'] == 'application/pdf') {
                     $parser = new PdfParser();
-                    $pdf = $parser->parseFile($effectiveUrl);
+                    $pdf = $parser->parseContent($body);
 
                     // tiny hack to avoid character like �
                     $html = mb_convert_encoding(nl2br($pdf->getText()), 'UTF-8', 'UTF-8');
Use parseContent method for parsing PDFs

Since the response body is available, there is no need to re-fetch the resource again. Additionally, the PDF parser [does not handle errors when fetching
files](<URL>), so this also improves error handling.