App/Model.py
def build_links(self, routes):
        """
        Build the links to all the letters to scrap

        Args:
            routes (list): List of routes

        Raises:
            exp: raise a generic exception if something goes wrong

        Returns:
            ans (list): A list with the links of all the letters
        """
        try:
            ans = []
            for route in routes:
                new_route = self.wpage.url.replace(".html", "/"+route+"/print.html")
                ans.append(new_route)
            return ans 
        except Exception as exp:
            Err.reraise(exp, "Gallery: build_links")

        Build the links to all the letters to scrap

        Args:
            routes (list): List of routes

        Raises:
            exp: raise a generic exception if something goes wrong

        Returns:
            ans (list): A list with the links of all the letters
        
Build the links to all the letters to scrap
Build the links to all the letters to scrap
def build_links(self, routes):
        try:
            ans = []
            for route in routes:
                new_route = self.wpage.url.replace(".html", "/"+route+"/print.html")
                ans.append(new_route)
            return ans 
        except Exception as exp:
            Err.reraise(exp, "Gallery: build_links")
def build_links ( self , routes ) : try : ans = [ ] for route in routes : new_route = self . wpage . url . replace ( ".html" , "/" + route + "/print.html" ) ans . append ( new_route ) return ans except Exception as exp : Err . reraise ( exp , "Gallery: build_links" )
Build the links to all the letters to scrap
Build the links to all the letters to scrap
"""
        Build the links to all the letters to scrap

        Args:
            routes (list): List of routes

        Raises:
            exp: raise a generic exception if something goes wrong

        Returns:
            ans (list): A list with the links of all the letters
        """
ans (list): A list with the links of all the letters
ans ( list ) : A list with the links of all the letters
raise a generic exception if something goes wrong
raise a generic exception if something goes wrong
exp
self
routes
List of routes
List of routes