Export keyword ideas from Google's Ad Planner and check for availability.
This command line tool goes through the second column of the exported CSV file and concatenates the keywords like so: your keyword
becomes yourkeyword
and your-keyword
. Single words of course only get checked once.
The script then checks for domain availability like so: yourkeyword.com
, yourkeyword.net
, yourkeyword.org
, yourkeyword.info
and then the second class citizens of the interwebz your-keyword.com
, your-keyword.net
, your-keyword.org
, your-keyword.info
and writes the results to your specified output file.
If the list contains keywords with special chars like &/$%@#
they get written to a file called ignored.txt
and skipped by the script to avoid errors. That way you can manually review them and make further decisions.
The script should write to CSV even if it runs into an issue.
Run the script from your command line:
$ git clone git@github.com:heyalexej/domainchecker.git
$ pip install -r requirements.txt
$ python domainchecker.py -i inputfile.csv -o outputfile.csv
Easy, ha?
Add exception handlingWrite on error- Resume after error.
Add recognition of single keywords.
- Sometimes 304 errors!? from API
- Sometimes false positives.
Twitter: @heyalexej
GitHub: github.com/heyalexej
License: Do whatever the fuck you want!