def get_last(self, num=10):
        """Returns last `num` of HN stories

        Downloads all the HN articles and returns them as Item objects

        Returns:
            `list` object containing ids of HN stories.

        """
        max_item = self.get_max_item()
        urls = [urljoin(self.item_url, F"{i}.json") for i in range(
            max_item - num + 1, max_item + 1)]
        result = self._run_async(urls=urls)
        return [Item(r) for r in result if r]
def get_last ( self , num = 10 ) : max_item = self . get_max_item ( ) urls = [ urljoin ( self . item_url , F"{i}.json" ) for i in range ( max_item - num + 1 , max_item + 1 ) ] result = self . _run_async ( urls = urls ) return [ Item ( r ) for r in result if r ]
Returns last `num` of HN stories

        Downloads all the HN articles and returns them as Item objects

        Returns:
            `list` object containing ids of HN stories.