App/Model.py
def scrap_notes_text(self, route, tag="div", attrs={"class": "content"}):
        """
        Scrap the text of the notes of a specific letter

        Args:
            route (str): Letter ID to scrap data
            tag (str): HTML <tag> keyword to search and scrap
            attrs (dict): decorative attributes in the <div> keyword to refine
            the search and scrap

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

        Returns:
            notes_txt (str): Text of the notes of the specified letter
        """
        try:
            notes_txt = self.wpage.scrap_at_position(
                tag=tag, attrs=attrs, position=7, route=route)
            notes_txt = self.clrtext(notes_txt)
            return notes_txt
        except Exception as exp:
            Err.reraise(exp, "Gallery: scrap_notes_text")

        Scrap the text of the notes of a specific letter

        Args:
            route (str): Letter ID to scrap data
            tag (str): HTML <tag> keyword to search and scrap
            attrs (dict): decorative attributes in the <div> keyword to refine
            the search and scrap

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

        Returns:
            notes_txt (str): Text of the notes of the specified letter
        
Scrap the text of the notes of a specific letter
Args:
route (str): Letter ID to scrap data
tag (str): HTML  keyword to search and scrap
attrs (dict): decorative attributes in the  keyword to refine
the search and scrap

raise a generic exception if something goes wrong

notes_txt (str): Text of the notes of the specified letter
Scrap the text of the notes of a specific letter Args : route ( str ) : Letter ID to scrap data tag ( str ) : HTML keyword to search and scrap attrs ( dict ) : decorative attributes in the keyword to refine the search and scrap raise a generic exception if something goes wrong notes_txt ( str ) : Text of the notes of the specified letter
def scrap_notes_text(self, route, tag="div", attrs={"class": "content"}):
        try:
            notes_txt = self.wpage.scrap_at_position(
                tag=tag, attrs=attrs, position=7, route=route)
            notes_txt = self.clrtext(notes_txt)
            return notes_txt
        except Exception as exp:
            Err.reraise(exp, "Gallery: scrap_notes_text")
def scrap_notes_text ( self , route , tag = "div" , attrs = { "class" : "content" } ) : try : notes_txt = self . wpage . scrap_at_position ( tag = tag , attrs = attrs , position = 7 , route = route ) notes_txt = self . clrtext ( notes_txt ) return notes_txt except Exception as exp : Err . reraise ( exp , "Gallery: scrap_notes_text" )
Scrap the text of the notes of a specific letter
Args:
route (str): Letter ID to scrap data
tag (str): HTML <tag> keyword to search and scrap
attrs (dict): decorative attributes in the <div> keyword to refine
the search and scrap
Scrap the text of the notes of a specific letter Args : route ( str ) : Letter ID to scrap data tag ( str ) : HTML <tag > keyword to search and scrap attrs ( dict ) : decorative attributes in the <div > keyword to refine the search and scrap
"""
        Scrap the text of the notes of a specific letter

        Args:
            route (str): Letter ID to scrap data
            tag (str): HTML <tag> keyword to search and scrap
            attrs (dict): decorative attributes in the <div> keyword to refine
            the search and scrap

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

        Returns:
            notes_txt (str): Text of the notes of the specified letter
        """
self
route
tag
attrs