code: def _ExtractGoogleSearchQuery(self, url):
      
      if 'search' not in url or 'q=' not in url:
        return None
  
      line = self._GetBetweenQEqualsAndAmpersand(url)
      if not line:
        return None
  
      return line.replace('+', ' ')
docs: Extracts a search query from a Google URL.
  
      Google Drive: https://drive.google.com/drive/search?q=query
      Google Search: https://www.google.com/search?q=query
      Google Sites: https://sites.google.com/site/.*/system/app/pages/
                    search?q=query
  
      Args:
        url (str): URL.
  
      Returns:
        str: search query or None if no query was found.