Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix google search return 301 or 302 bug #15

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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