FabianBeiner / PHP-IMDB-Grabber

This PHP library enables you to scrape data from IMDB.com.
MIT License
271 stars 160 forks source link

$sSource = $aCurlInfo['contents'] #185

Closed sajjadef98 closed 1 year ago

sajjadef98 commented 1 year ago
// replace 
$sSource   = $aCurlInfo['contents'];
// with
$sSource = is_bool($aCurlInfo) ?  $aCurlInfo : $aCurlInfo['contents'] ;

🍕🍕

FabianBeiner commented 1 year ago

Woah, I completely missed this issue. Thanks, @sajjadef98! I've added it to 6.2.1.