This is a simple google search results crawler. Before use this tool, please read these tips below.
-
Python
python should be installed in your computer. here is the official website: http://www.python.org
-
BeautifulSoup
A html parser to extract search results from Google. BeautifulSoup(version 4) is better.
For more information about BeautifuleSoup, please visit: http://www.crummy.com/software/BeautifulSoup/
-
single key word
python gsearch.py 'your query key words'
It will return about 10 extracted results by default. if you need more results, just change the expect_num value.
-
list of key words
python gsearch.py
First create a file named keywords, put your key words list into this file, one key word per line.
-
If there are any problems or bugs about this tool, please contact me.