I assume you are using this library by Mario Vilas because of the stop=20 argument which appears in his code. It seems like this library is not able to return anything but the URLs, making it horribly undeveloped. As such, what you want to do is not possible with the library you are currently using.

I would suggest you instead use abenassi/Google-Search-API. Then you can simply do:

from google import google
num_page = 3
search_results = google.search("This is my query", num_page)
for result in search_results:
    print(result.description)
Answer from Jokab on Stack Overflow
🌐
Google
developers.google.com › google for education › python
Google's Python Class | Python Education | Google for Developers
Welcome to Google's Python Class -- this is a free class for people with a little bit of programming experience who want to learn Python. The class includes written materials, lecture videos, and lots of code exercises to practice Python coding.
Google Developer Program
Build new projects, advance your career, and expand your network with the Google Developer Program · Get full access to AI-focused courses and labs at no-cost to you—available on Google Skills. Go from learning to building with Google technologies, including Android, Firebase, Google Cloud, ...
All products
Explore our suite of developer products designed to fuel your innovation, streamline development, and unlock new features and growth for your projects.
Google Analytics
With Google Analytics, you can fine-tune your digital strategy, optimize your campaigns, and takeyour online presence to new heights.
Public DNS
A free, global DNS resolution service that you can use as an alternative to your current DNS provider.
🌐
Google
docs.cloud.google.com › python › docs
Python documentation | Google Cloud Documentation
In this course, you will learn the ins and outs of developing Google Cloud applications in Python.
Discussions

In light of the news about the python team at google
I assume you're referring to this one: Google layoffs: Sundar Pichai-led Alphabet's arm fires entire Python team, says report If you read the article, it also states that their US Python team consists of less than 10 people. If you're one of them, that's of course horrible, but I think I'm not the only one who was expecting hundreds of people in that team. The article also states that a new team will be created in Germany because labor is cheaper there (really, the biggest economy in Europe is now 'cheap labor'?). More on reddit.com
🌐 r/dataengineering
61
124
May 1, 2024
I thought I just sucked at learning python, but it turned out the Coursera Google Python course just sucks.
Do you know what "crash course" means? This course isn't intended to be comprehensive, and you need to do the extra work yourself using the resources provided. I do have Python experience and found this course to be great, as many other have. More on reddit.com
🌐 r/learnpython
16
3
August 8, 2023
Why did Google choose Python?
One Google employee once told me (and a bunch of guys, it was a Python Users meeting in one of their buildings) that a good portion of Google code is java. But even the Java guys use Python to describe their algorithms 'cause it's really easy to understand Python code. More on reddit.com
🌐 r/Python
10
0
February 7, 2011
Trouble getting past the first line of Google's Python class...

Did you notice that your prompt changed from students-MacBook-Pro:~ student$ to >>>? That's because you ran python by itself, which starts Python in interactive mode. When you see the >>> prompt, you are "in" the Python interpreter, and the things you type are interpreted directly by Python (and so must be valid Python syntax). When you have the students-MacBook-Pro:~ student$ prompt, you are giving commands to Bash (the shell, the program which always runs in the terminal and interprets the commands you type). If you have the Python prompt and you want to return to Bash, type Ctrl+D, or type exit() and hit enter.

In the prompt students-MacBook-Pro:~ student$, the first bit is your computer's hostname (students-MacBook-Pro), the bit after the colon is the name of the directory you are currently in (~), and the bit after that (I'm guessing) is your username (student). (And the $ is just a standard prompt ending.)

~ means your home directory, which on a Mac expands something like /Users/<username>. You can type the command pwd to see the full path of the current directory.

Use the command ls to list the files in your current directory. You'll find that hello.py is not one of them, hence the "No such file or directory" error. Python will only see files in your current directory.

So to run hello.py, you need to either move to the directory that contains it and then run python hello.py, or you can type out the full path instead of just hello.py. For example, if hello.py is inside a folder called exercises which is on your desktop, then you could run it by typing python Desktop/exercises/hello.py or by doing cd Desktop/exercises (cd stands for change directory) followed by python hello.py.

More on reddit.com
🌐 r/learnpython
5
18
August 19, 2014
🌐
Google Cloud
cloud.google.com › developers › python
Python | Google Cloud
Write and execute Python in the browser using Colaboratory.
🌐
PyPI
pypi.org › project › googlesearch-python
googlesearch-python · PyPI
A Python library for scraping the Google search engine.
      » pip install googlesearch-python
    
Published   Jan 21, 2025
Version   1.3.0
🌐
GitHub
github.com › googleapis › google-api-python-client
GitHub - googleapis/google-api-python-client: 🐍 The official Python client library for Google's discovery based APIs.
This is the Google API Python client library for Google's discovery based APIs. To get started, please see the docs folder. This library is considered complete and is in maintenance mode.
Starred by 8.8K users
Forked by 2.6K users
Languages   Python 94.1% | Shell 5.7% | Makefile 0.2%
Find elsewhere
🌐
PyPI
pypi.org › project › google
google · PyPI
Python bindings to the Google search engine. ... Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
      » pip install google
    
Published   Jul 11, 2020
Version   3.0.0
🌐
Google Cloud
cloud.google.com › app engine › python on google app engine
Python on Google App Engine | Google Cloud Documentation
App Engine offers you a choice between two Python language environments. Both environments have the same code-centric developer workflow, scale quickly and efficiently to handle increasing demand, and enable you to use Google’s proven serving technology to build your web, mobile and IoT applications quickly and with minimal operational overhead.
🌐
Google
developers.google.com › google for education › python › python introduction
Python Introduction | Python Education | Google for Developers
August 14, 2025 - Google's Python online tutorial is based on an internal introductory course and covers Python 3.
🌐
Medium
medium.com › @sagarydv002 › google-search-in-python-a-beginners-guide-742472fec9cc
Google Search in Python: A Beginner’s Guide | by Sagar Yadav | Medium
July 29, 2023 - In this blog, we will explore how to conduct Google searches using Python and fetch the top search results.
🌐
Coursera
coursera.org › browse › information technology › support and operations
Crash Course on Python | Coursera
April 22, 2022 - Offered by Google. This course is designed to teach you the foundations in order to write simple programs in Python using the most common ... Enroll for free.
Rating: 4.8 ​ - ​ 40.4K votes
🌐
Quora
quora.com › What-is-Python-used-for-at-Google
What is Python used for at Google? - Quora
Answer (1 of 6): Python is an official language at Google. Alongside two other prominent languages Java and C++. Google even supports the development of Python programming language and sponsors various Pyhon conferences like PyCon.
🌐
Google
google.github.io › styleguide › pyguide.html
Google Python Style Guide
Python is the main dynamic language used at Google. This style guide is a list of dos and don’ts for Python programs. To help you format code correctly, we’ve created a settings file for Vim. For Emacs, the default settings should be fine. Many teams use the Black or Pyink auto-formatter ...
🌐
Reddit
reddit.com › r/dataengineering › in light of the news about the python team at google
r/dataengineering on Reddit: In light of the news about the python team at google
May 1, 2024 -

If you hadn't heard, google let go it's entire python development team. Posts in r/programming and others made the rounds and lots of discussion ensued.

What caught my attention were a few comments about the maintenance required to keep python code running. In one case, C++ was mentioned as being more performant and having better longevity even with the C++ extensibility within python. I'm wondering where this discussion would fall within a dataengineering-centric community. I'm on mobile otherwise I'd put all the links I've come across in the last few days of reading.

Edit: I really appreciate the contributions & conversations. I'm seeing quite a few people doing many of the same things I have been doing, especially in the realms of mypy, pytest, pydocstyle, pylint, etc. To reiterate, the purpose of my post is less about corporate shenanigans and more about identifying & discussing non-python value in the DE ecosystem.

🌐
GeeksforGeeks
geeksforgeeks.org › python › performing-google-search-using-python-code
Performing Google Search using Python code - GeeksforGeeks
November 24, 2021 - Instead of putting so much effort ... links to all the google search results directly. Using python package google we can get results of google search from the python script....
🌐
Quintagroup
quintagroup.com › cms › python › google
Use of Python at Google - Quintagroup
November 20, 2015 - Python is recognized as an official language at Google, it is one of the key languages at Google today, alongside with C++ and Java. Some of the key Python contributors are Googlers and they continue to use, promote, and support the language ...
🌐
Google Cloud
cloud.google.com › python › get started with python
Get started with Python | Google Cloud Documentation
Python · Guides · Send feedback · This tutorial is intended for those new to building apps in the cloud, such as engineers and web developers, who want to learn key app development concepts as they apply to Google Cloud. Learn basic Google Cloud tools, such as the Google Cloud console and gcloud.