1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Is There A Script That Counts OBL's?

Discussion in 'Black Hat SEO Tools' started by sunseven, Dec 22, 2009.

  1. sunseven

    sunseven Regular Member

    Joined:
    Aug 5, 2009
    Messages:
    241
    Likes Received:
    279
    Wanted to know if anyone knew of a program where you can paste a bunch of url's and the program would scan each and tell you:

    1.) how many out bound links are on each page?
    2.) the PR of the page
    3.) The title tag of the page
    4.) And would be even sweeter if you could input a url or anchor text to search for. So it would help me in checking to see if my backlinks are live.

    This would save me sooo much time. Let me know if anyone knows of any such wonder tool.
     
  2. toxtom

    toxtom BANNED BANNED

    Joined:
    Aug 10, 2009
    Messages:
    515
    Likes Received:
    197
    Bump for you!
    looking for something like this as well/
     
  3. mo4damoney

    mo4damoney Regular Member

    Joined:
    Oct 29, 2009
    Messages:
    215
    Likes Received:
    83
    Occupation:
    Anything Internet
    Location:
    Qonos
    Bump here as well!
     
  4. oldenstylehats

    oldenstylehats Elite Member Premium Member

    Joined:
    Apr 10, 2008
    Messages:
    1,893
    Likes Received:
    1,196
    Happy Holidays from blackhatzen:
    Code:
    <?php
    	if(isset($_POST['urls'])){
    		$urls = explode("\n",$_POST['urls']);
    	}
    	
    	if(isset($_POST['contains'])){
    		$contains = preg_quote($_POST['contains'], "/");
    	}
    ?>
    <html>
    	<head>
    		<title>blackhatzen obl check</title>
    	</head>
    	
    	<body>
    		<form action="#" method="POST">
    			<table>
    				<tr>
    					<td width="50px"><strong>URLs:</strong></td>
    					<td><textarea name="urls" cols="50" rows="15"></textarea></td>
    				</tr>
    				
    				<tr>
    					<td width="50px"><strong>Contains</strong></td>
    					<td><input type="text" name="contains" size="100" /></td>
    				</tr>
    				
    				<tr>
    					<td colspan="2"><input type="submit" /></td>
    				</tr>
    			</table>
    		</form>
    		
    		<?php 
    			if(isset($urls)){
    				echo <<<HTML
    			<table border="1" width="500px">
    HTML;
    				foreach($urls as $url){
    					$server = explode("/", $url);
    					$server = $server[2];
    					
    					$html = file_get_contents($url);
    					$dom = new DOMDocument();
    					@$dom->loadHTML($html);
    					$xpath = new DOMXpath($dom);
    					
    					$elements = $xpath->query("//head/title");
    					if(isset($elements)){
    						foreach($elements as $element){
    							$title = $element->nodeValue;
    						}
    					}
    
    					unset($element);
    					unset($elements);
    					
    					$elements = $xpath->query("//a");
    					if(isset($elements)){
    						$count = 0;
    						$contains_count = 0;
    						foreach($elements as $element){
    							$link = $element->getAttribute("href");
    							if(!preg_match("/$server/i", $link) && preg_match("/^http/i", $link)){
    								if(isset($contains)){
    									if(preg_match("/$contains/i", $link)){
    										$contains_count++;
    									}
    								}
    								
    								$count++;
    							}
    						}
    					}
    					echo "
    					<tr>
    						<th>URL</th>
    						<td>$url</td>
    					</tr>
    					<tr>
    						<th>Title</th>
    						<td>$title</td>
    					</tr>
    					
    					<tr>
    						<th>OBL</th>
    						<td>$count</td>
    					</tr>
    					
    					<tr>
    						<th>Contains</th>
    						<td>$contains_count</td>
    					</tr>";
    					
    					unset($xpath);
    					unset($dom);
    				}
    
    				echo <<<HTML
    			</table>
    HTML;
    			}
    		?>
    		
    	</body>
    </html>
    One URL per line, must be a proper URI (like http://blahblah.com/). Contains URL must also be a proper URI (like http://blahblah.com/). Doesn't check for PR, because PR is worthless. Copy and paste into a .php file and upload to server.

    I threw this together in like 10 minutes, so there are bound to be some bugs. Feel free to make with the hackety-hack for extra features. Try and sell this and Santa will crap in your mouth while you sleep.

    osh out.
     
    • Thanks Thanks x 2
  5. excaflowne

    excaflowne Junior Member

    Joined:
    Nov 29, 2009
    Messages:
    176
    Likes Received:
    28
    i dunno if there's any other free script out there, but Market Samurai pretty much doing all of you asked for...
     
  6. hotcheats

    hotcheats Regular Member

    Joined:
    Dec 2, 2008
    Messages:
    328
    Likes Received:
    74
    Location:
    EU
    SeoQuake plugin for firefox will also do all that:

    Code:
    https://addons.mozilla.org/en-US/firefox/addon/3036
     
  7. sunseven

    sunseven Regular Member

    Joined:
    Aug 5, 2009
    Messages:
    241
    Likes Received:
    279
    Hello Oldenstyle,

    Tried to run the script but it's not producing any results for me. Can you offer some additional help? Your efforts are much appreciated.

    In regards to Market Samarai, someone else mentioned the ability of it to do what was outlined but not the case. No where does it show you outbound links just inbound. SEO Quake plugin I use frequently as well and there is no way to automatically add a list of urls and get back such data. Thanks to everyone else for the attempts.