(self, url, parameter)
return self._decode_url(parameter)
Retrieves the GET parameter from a URL.

        Args:
          url (str): URL.
          parameter (str): the parameter to extract.

        Returns:
          str: the GET parameter value or None if no parameter was found.
Retrieves the GET parameter from a URL.
Retrieves the GET parameter from a URL .
def _get_url_parameter_value(self, url, parameter):
        """Retrieves the GET parameter from a URL.

        Args:
          url (str): URL.
          parameter (str): the parameter to extract.

        Returns:
          str: the GET parameter value or None if no parameter was found.
        """
        # Make sure we're analyzing the query part of the URL.
        _, _, url = url.partition('?')
        # Look for a key value pair named 'q'.
        _, _, url = url.partition('{0:s}='.format(parameter))
        if not url:
            return ''

        # Strip additional key value pairs.
        parameter, _, _ = url.partition('&')
        parameter = parameter.replace('+', ' ')

        return self._decode_url(parameter)
def _get_url_parameter_value ( self , url , parameter ) : # Make sure we're analyzing the query part of the URL. _ , _ , url = url . partition ( '?' ) # Look for a key value pair named 'q'. _ , _ , url = url . partition ( '{0:s}=' . format ( parameter ) ) if not url : return '' # Strip additional key value pairs. parameter , _ , _ = url . partition ( '&' ) parameter = parameter . replace ( '+' , ' ' ) return self . _decode_url ( parameter )