perceval/backends/core/askbot.py
def get_html_question(self, question_id, page=1):
        """Retrieve a raw HTML question and all it's information.

        :param question_id: question identifier
        :param page: page to retrieve
        """
        path = urijoin(self.base_url, self.HTML_QUESTION, question_id)
        params = {
            'page': page,
            'sort': self.ORDER_HTML
        }

        response = self.fetch(path, payload=params)
        return response.text
def get_html_question(self, question_id, page=1):
        """Retrieve a raw HTML question and all it's information.

        :param question_id: question identifier
        :param page: page to retrieve
        """
        path = urijoin(self.base_url, self.HTML_QUESTION, question_id)
        params = {
            'page': page,
            'sort': self.ORDER_HTML
        }

        response = self.fetch(path, payload=params)
        return response.text
Retrieve a raw HTML question and all it's information.

        :param question_id: question identifier
        :param page: page to retrieve