Skip to content

Commit

Permalink
Hook spider into filetype exclusion framework
Browse files Browse the repository at this point in the history
  • Loading branch information
pmyteh committed Jul 22, 2012
1 parent 8794448 commit f0e99df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spider.php
Expand Up @@ -44,7 +44,7 @@
try {
$strURL = $seed["strURL"];
if (exclude_link($seed["strURL"])) throw new Exception("Page in excluded list: $strURL\n");
$downloaded_page = http_get_withheader($seed["strURL"], "");
$downloaded_page = http_get_withheader_suffixcheck($seed["strURL"], "");
$content_type=$downloaded_page['STATUS']['content_type'];
$strStatus=$downloaded_page['STATUS'];
$code=$strStatus["http_code"];
Expand Down

0 comments on commit f0e99df

Please sign in to comment.