(self, expression, lines=22)
return []
Get search results from Docker Hub
Get search results from Docker Hub
Get search results from Docker Hub
def search_get_page(self, expression, lines=22):
        """Get search results from Docker Hub"""
        if self.search_ended:
            return []
        self.search_page += 1
        if self.has_search_v2(self.index_url):
            return self.search_get_page_v2(expression, self.index_url, lines)
        if self.has_search_v1():
            return self.search_get_page_v1(expression, self.index_url)
        if self.has_search_v2(self.registry_url):
            return self.search_get_page_v2(expression, self.registry_url, lines)
        if self.has_search_v1(self.registry_url):
            return self.search_get_page_v1(expression, self.registry_url)
        return []
def search_get_page ( self , expression , lines = 22 ) : if self . search_ended : return [ ] self . search_page += 1 if self . has_search_v2 ( self . index_url ) : return self . search_get_page_v2 ( expression , self . index_url , lines ) if self . has_search_v1 ( ) : return self . search_get_page_v1 ( expression , self . index_url ) if self . has_search_v2 ( self . registry_url ) : return self . search_get_page_v2 ( expression , self . registry_url , lines ) if self . has_search_v1 ( self . registry_url ) : return self . search_get_page_v1 ( expression , self . registry_url ) return [ ]