App/View.py
def five(self, *args):
        """
        Option 5, based on the results of option 1, it scrap the
        metadata of each URL gallery element

        Args:
            vvg_url (str): web gallery URL search for the collection
            id_col (str): df-schema column name of the ID
            metadata_cols (list): list with the df-schema column names of TITLE, 
            AUTHOR, ADDRESSEE, DATE, LOCATION
        Raises:
            exp: raise a generic exception if something goes wrong

        Returns:
            ans (bool): boolean to confirm success of the task
        """
        try:
            print(
                "Recovering elements metadata (TITLE, AUTHOR, ADDRESSEE, DATE, LOCATION)")
            gc = self.gallery_controller
            meta_data = gc.scrap_metadata(*args)
            ans = True
            for col in args[2]:
                ans = ans and gc.updata(col, meta_data[col])
            return ans

        # exception handling
        except Exception as exp:
            raise exp

        Option 5, based on the results of option 1, it scrap the
        metadata of each URL gallery element

        Args:
            vvg_url (str): web gallery URL search for the collection
            id_col (str): df-schema column name of the ID
            metadata_cols (list): list with the df-schema column names of TITLE, 
            AUTHOR, ADDRESSEE, DATE, LOCATION
        Raises:
            exp: raise a generic exception if something goes wrong

        Returns:
            ans (bool): boolean to confirm success of the task
        
Option 5, based on the results of option 1, it scrap the
metadata of each URL gallery element



ans (bool): boolean to confirm success of the task
Option 5 based on the results of option 1 it scrap the metadata of each URL gallery element ans ( bool ) : boolean to confirm success of the task
def five(self, *args):
        try:
            print(
                "Recovering elements metadata (TITLE, AUTHOR, ADDRESSEE, DATE, LOCATION)")
            gc = self.gallery_controller
            meta_data = gc.scrap_metadata(*args)
            ans = True
            for col in args[2]:
                ans = ans and gc.updata(col, meta_data[col])
            return ans
        except Exception as exp:
            raise exp
def five ( self , * args ) : try : print ( "Recovering elements metadata (TITLE, AUTHOR, ADDRESSEE, DATE, LOCATION)" ) gc = self . gallery_controller meta_data = gc . scrap_metadata ( * args ) ans = True for col in args [ 2 ] : ans = ans and gc . updata ( col , meta_data [ col ] ) return ans except Exception as exp : raise exp
Option 5, based on the results of option 1, it scrap the
metadata of each URL gallery element
Option 5 based on the results of option 1 it scrap the metadata of each URL gallery element
"""
        Option 5, based on the results of option 1, it scrap the
        metadata of each URL gallery element

        Args:
            vvg_url (str): web gallery URL search for the collection
            id_col (str): df-schema column name of the ID
            metadata_cols (list): list with the df-schema column names of TITLE, 
            AUTHOR, ADDRESSEE, DATE, LOCATION
        Raises:
            exp: raise a generic exception if something goes wrong

        Returns:
            ans (bool): boolean to confirm success of the task
        """ # exception handling
self