Skip to content

Commit

Permalink
4.20 quick fix alexa backlink checker
Browse files Browse the repository at this point in the history
  • Loading branch information
sendtogeo committed Nov 27, 2019
1 parent befad8b commit cb94499
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/backlink.ctrl.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ function __getBacklinks ($engine) {
/*if (preg_match('/<LINKSIN NUM="(.*?)"/si', $pageContent, $r) ) {
}*/

if (preg_match('/id="linksin-panel-content".*>([0-9,]+)<\/span>/si', $pageContent, $r)) {
if (preg_match('/thissite.*?<span>([0-9,]+)<\/span>.*?Links/si', $pageContent, $r)) {
} else {
$crawlInfo['crawl_status'] = 0;
$crawlInfo['log_message'] = SearchEngineController::isCaptchInSearchResults($pageContent) ? "<font class=error>Captcha found</font> in search result page" : "Regex not matched error occured while parsing search results!";
Expand Down

0 comments on commit cb94499

Please sign in to comment.