(self, url)
return self._decode_url(search_quoted)
Extracts a search query from a URL that uses search/query notation.

        Examples:
            GMail: https://mail.google.com/mail/u/0/#search/query[/?]
            Inbox: https://inbox.google.com/search/<query>
            Groups: https://groups.google.com/a/google.com/forum/#!search/query

        Args:
            url (str): URL.

        Returns:
            str: search query or None if no query was found.
Extracts a search query from a URL that uses search/query notation.
Extracts a search query from a URL that uses search / query notation .
def _extract_urlpart_search_query(self, url):
        """Extracts a search query from a URL that uses search/query notation.

        Examples:
            GMail: https://mail.google.com/mail/u/0/#search/query[/?]
            Inbox: https://inbox.google.com/search/<query>
            Groups: https://groups.google.com/a/google.com/forum/#!search/query

        Args:
            url (str): URL.

        Returns:
            str: search query or None if no query was found.
        """
        if 'search/' not in url:
            return None

        _, _, line = url.partition('search/')
        line, _, _ = line.partition('/')
        line, _, _ = line.partition('?')

        search_quoted = line.replace('+', ' ')
        return self._decode_url(search_quoted)
def _extract_urlpart_search_query ( self , url ) : if 'search/' not in url : return None _ , _ , line = url . partition ( 'search/' ) line , _ , _ = line . partition ( '/' ) line , _ , _ = line . partition ( '?' ) search_quoted = line . replace ( '+' , ' ' ) return self . _decode_url ( search_quoted )