<human>:  Give me a Python function to read text from urls.
<bot>: Here is a Python function to read text from urls

import urllib.request, urllib.parse, urllib.error

def read_text_from_url(url):
  """Reads text from url
  """
  try:
    with open(url, 'r') as f:
      return f.read()
  except:
    return ''

# Enter the url
url = 'https://www.google.com/maps/place/Mumbai/@19.0605522,72.8914011,11z/data=!3m1!1e3'

# Calling the function
print((read_text_from_url(url)))

#Example Output
# 

#Remember to inspect code for bugs.