remi / domain-finder

Find some previously used domain names and check availability

domain-finder / NOTES
100644 42 lines (26 sloc) 1.379 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
TODO
 
  put all classes within DomainFinder namespace to not class with other libraries
 
  turn into gem (github-compatible)
 
  make a domain-finder console with some nice and easy built in commands for checking domains/etc
 
  make it check and eval a .domainfinderrc or _domainfinderrc for easily overriding anything
  like the default domain-finder command and whatever else
 
  make domain-auction (shortcut to domain-finder auction)
 
  make a shoes-based GUI specific to the auction functionality ... ./bin/domain-auction (maybe?)
 
NOTES
 
Auction Date google query examples:
 
"Auction Date" 01-15-2008 intitle:club site:whois.domaintools.com
intitle optional
 
"date should be atleast 2 weeks ago" (so it'll be in the cache, probably?)
 
expected usages ...
 
domain-finder auction
domain-finder auction --date 01-01-2008
domain-finder auction --date 01-01-2008..01-05-2008
domain-finder auction --date 01-01-2008 --keyword blog
domain-finder auction --date 01-01-2008 --keyword blog,seo
domain-finder auction --date 01-01-2008,01-04-2008..01-05-2008 --keyword blog,seo
 
Google usage ...
 
Google.search %{"Auction Date" blah ...}, :page => 2 should return an array of GoogleResult objects
 
Google.search_url(....).should == "http://q=....."
Google.fetch_url(...).should == string
Google.parse_results(str).should == []
Google.parse_result(hpricot thing).should == GoogleResult