NamePros
Welcome, Guest! Ready to make a name for yourself in the domain business? We welcome both the hobbyist and professional domainer to join the discussion as part of the NamePros community.

Click here to create your profile to start earning reputation for posting, and trader ratings for buying & selling in our free e-marketplace. Build your trader rating with each successful sale. Our system has tracked over 100,000 sales and counting!
FAQ & TOS Register Search Today's Posts Mark Forums Read

Go Back   NamePros.com > Website Development Discussion Forums > Programming
Reload this Page Wanted Perl Script - Name your price

Programming PHP, Perl, Ruby on Rails, AJAX, HTML, XHTML, CSS, JavaScript, MySQL and any other coding topics.

Advanced Search


Closed Thread
 
LinkBack Thread Tools
Old 07-29-2007, 11:33 AM THREAD STARTER               #1 (permalink)
jdk
Senior Member
 
jdk's Avatar
Join Date: Jul 2004
Location: Florida
Posts: 1,492
jdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond repute
 



Wanted Perl Script - Name your price


I am looking for a script I can install to my server that will load a file called names.txt which I will have the following format:
????: NamePros.com http://www.namepros.com/programming/355511-wanted-perl-script-name-your-price.html

Name.com
Name2.com

It will go one by one and check to see if the domain is available. If it is, it will take and open names_avail.txt and insert the available name at the bottom of the list. If the name is not available it will keep it in the list but add an * at the end of the domain ie) Name2.com* This will show it was checked and was not available.

I want to be able to execute the script using SSH and the command line on my server with a command like

> scan.pl names.txt

or something similar saying to run scan.pl and scan the file names.txt

Please PM me your asking price and time it would take for completion. I want it to be able to handle any amount of domain extensions.

I want to have this thing ridiculously fast.
jdk is offline  
Old 07-29-2007, 03:48 PM   #2 (permalink)
cef
NamePros Regular
Join Date: May 2004
Location: NYC
Posts: 236
cef is a jewel in the roughcef is a jewel in the roughcef is a jewel in the rough
 


Animal Rescue
Originally Posted by jdk
If the name is not available it will keep it in the list but add an * at the end of the domain ie) Name2.com* This will show it was checked and was not available.
What should the script do with these starred names? Print them to the screen? Dump them to a file called "names_unavail.txt"?
cef is offline  
Old 07-29-2007, 04:59 PM THREAD STARTER               #3 (permalink)
jdk
Senior Member
 
jdk's Avatar
Join Date: Jul 2004
Location: Florida
Posts: 1,492
jdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond reputejdk has a reputation beyond repute
 



Basically I have list names.txt full of domains. The script should open this file and go down the list one by one checking for availability. If the domain is available it should open a second file called names_available.txt or whatever and write that name to the file and close it. It then moves on to the next name. If the name is UNavailable it can either remove the name from the file and move on to the next. I want something that runs FAST and is not so resource intensive.
????: NamePros.com http://www.namepros.com/showthread.php?t=355511

The program should read in a list and if there is a * after a domain i.e.) domain.com* it will know it has been scanned already and move on to the next name.

I mainly want COM/NET/ORG/INFO/US/BIZ/CC/SC/WS or as many extensions as I can get.

Another REQUIREMENT is to do the whois in a way the IP will not get banned from the whois server. This way I can scan 20,50,100 names per second.

I want to run the script from the command line so printing to the screen will likely take time, so it is could just say working and give me some sign it is scanning without limiting speed of the script however you do it is fine. It can do like Scanning 5/100 and count up or just say 5% 10% 15%

AND it must be able to handle list sizes of 50k, 100k or more
Last edited by jdk; 07-29-2007 at 05:02 PM.
jdk is offline  
Old 07-30-2007, 07:05 AM   #4 (permalink)
cef
NamePros Regular
Join Date: May 2004
Location: NYC
Posts: 236
cef is a jewel in the roughcef is a jewel in the roughcef is a jewel in the rough
 


Animal Rescue
Got it. But I didn't see your edits until I came back here to post.

I wrote something quick which uses Net::Whois::Raw from cpan, but it doesn't handle all the extensions you listed (I know I've seen Perl code somewhere that does, though), I doubt it can process the results of 50/100 names per second, and I also have no idea how to prevent getting banned from the whois servers. It's not hard to throttle request calls in the while() loop, but I just don't know the subtleties of each registrar's thresholds.

So...I'll have to leave this in someone else's hands, but in the interim, if you want me to post what I wrote, let me know.
cef is offline  
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Liquid Web Smart Servers  
All times are GMT -7. The time now is 08:19 AM.

Managed Web Hosting by Liquid Web
Domain name forum recommended by Domaining.com Powered by: vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.6.0 Ad Management plugin by RedTyger