Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3619628
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T22:54:06+00:00 2026-05-18T22:54:06+00:00

I use http://www.catonmat.net/blog/python-library-for-google-search/ to make queries at Google search engine but the number of

  • 0

I use http://www.catonmat.net/blog/python-library-for-google-search/ to make
queries at Google search engine but the number of results I get is limited to
10. I used the results_per_page property and I set it to 50, 100 etc. but the
number of results didn’t changed. Is there a way to get more results?
Is there another python lib without these constraints for Google searching?

Thank you in advance,
Thanasis

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T22:54:07+00:00Added an answer on May 18, 2026 at 10:54 pm

    You will need to loop through the pages: listed below is an example; remember to place a thread sleep between each call to Google: otherwise your IP will be blocked if your search is large (getting it unblocked is a real hassle and your ISP may get on your case).

    from xgoogle.search import GoogleSearch, SearchError
    try:
      page = 1
      gs = GoogleSearch("foo bar")  
      gs.results_per_page = 100
      results = []
      while page < 10:
          gs.page = page
          results += gs.get_results()
          page += 1
    except SearchError, e:
      print "Search failed: %s" % e
    for res in results:
        print res.url
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm new to Python and am trying to install this module: http://www.catonmat.net/blog/python-library-for-google-search/ There is
Im trying to use http://www.javarants.com/2008/04/13/using-google-app-engine-to-extend-yahoo-pipes/ as inspiration, but I'm having some troubles with the
I'm trying to use http://www.flexablecoder.com/blog/index.cfm/memcached client. All works ok but for each cfm call,
For example to get the favicon of a site I can use http://www.google.com/s2/favicons?domain= and
I use file_get_contents(http://www.mydomain.com); to get the content. Then I need to search through it
What url do you use for it because http://www.red5.org/projects/red5plugin/update_0.1.x/ gots redirected to http://code.google.com/p/red5/ ,
I have Programming Erlang book already and I use http://www.erlang.org/ site. But I can't
I'd like to use http://www.imdbapi.com/ in Java, but I don't know I can access
I'd like to use the standard MongoDB ReST interface ( http://www.mongodb.org/display/DOCS/Http+Interface ) to search
The official website seems only provided some tutorial on how to use: http://www.symfony-project.org But

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.