def _request_parsed_article_from_mercury(
            self,
            url):
        """* request parsed article from mercury*

        **Key Arguments:**
            - ``url`` -- the URL to the HTML page to parse and clean

        **Return:**
            - None

        **Usage:**
            ..  todo::

                - add usage info
                - create a sublime snippet for usage
                - update package tutorial if needed

            .. code-block:: python 

                usage code 

        """
        self.log.debug(
            'completed the ````_request_parsed_article_from_mercury`` method')

        try:
            response = requests.get(
                url="https://mercury.postlight.com/parser",
                params={
                    "url": url,
                },
                headers={
                    "x-api-key": self.settings["mercury api key"],
                },
            )

        except requests.exceptions.RequestException:
            print('HTTP Request failed')

        self.log.debug(
            'completed the ``_request_parsed_article_from_mercury`` method')
        return response
def _request_parsed_article_from_mercury ( self , url ) : self . log . debug ( 'completed the ````_request_parsed_article_from_mercury`` method' ) try : response = requests . get ( url = "https://mercury.postlight.com/parser" , params = { "url" : url , } , headers = { "x-api-key" : self . settings [ "mercury api key" ] , } , ) except requests . exceptions . RequestException : print ( 'HTTP Request failed' ) self . log . debug ( 'completed the ``_request_parsed_article_from_mercury`` method' ) return response
* request parsed article from mercury*

        **Key Arguments:**
            - ``url`` -- the URL to the HTML page to parse and clean

        **Return:**
            - None

        **Usage:**
            ..  todo::

                - add usage info
                - create a sublime snippet for usage
                - update package tutorial if needed

            .. code-block:: python 

                usage code