App/Model.py
def scrap_routes(self):
        """
        Scrap the gallery index and recover all the elements in it

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

        Returns:
            ans (list): A list with the IDs of all the letters
        """
        try:
            pattern = r"^[RM]{2}[0-9]+|^[0-9]{3}"
            ans = self.wpage.get_elements(tag="a", pattern=pattern)
            return ans

        except Exception as exp:
            Err.reraise(exp, "Gallery: scrap_routes")

        Scrap the gallery index and recover all the elements in it

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

        Returns:
            ans (list): A list with the IDs of all the letters
        
Scrap the gallery index and recover all the elements in it
Scrap the gallery index and recover all the elements in it
def scrap_routes(self):
        try:
            pattern = r"^[RM]{2}[0-9]+|^[0-9]{3}"
            ans = self.wpage.get_elements(tag="a", pattern=pattern)
            return ans
        except Exception as exp:
            Err.reraise(exp, "Gallery: scrap_routes")
def scrap_routes ( self ) : try : pattern = r"^[RM]{2}[0-9]+|^[0-9]{3}" ans = self . wpage . get_elements ( tag = "a" , pattern = pattern ) return ans except Exception as exp : Err . reraise ( exp , "Gallery: scrap_routes" )
Scrap the gallery index and recover all the elements in it
Scrap the gallery index and recover all the elements in it
"""
        Scrap the gallery index and recover all the elements in it

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

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