Skip to content

fix google search return 301 or 302 bug#15

Open
oaoouo wants to merge 1 commit intolaramies:masterfrom
misakar:master
Open

fix google search return 301 or 302 bug#15
oaoouo wants to merge 1 commit intolaramies:masterfrom
misakar:master

Conversation

@oaoouo
Copy link

@oaoouo oaoouo commented Dec 6, 2017

Hi laramies, Thanks for your metagoofil !
I think I solve the problem #14 in this pr

search_google function return 301 status code because google use https but metagoofil send http request, so I change httplib.HTTP to httplib.HTTPS . then search_google return 302 status code, because self.server is www.google.com.hk(not www.google.com) in my area(Chinese), so I add a commandline parameter -a represent area,

$ python metagoofil.py -d apple.com -t doc -l 100 -n 50 -o applefiles -f apple.html -a hk  

and it works!
metagoofil_result

My English is not good, please forgive me⁄(⁄ ⁄•⁄ω⁄•⁄ ⁄)⁄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant