App/Model.py
def scrap_original_text(self, route, tag="div", attrs={"class": "content"}):
        """
        Scrap the original text 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:
            original_txt (str): Original text of the specified letter
        """
        try:
            original_txt = self.wpage.scrap_at_position(
                tag=tag, attrs=attrs, position=3, route=route)
            original_txt = self.clrtext(original_txt)
            return original_txt
        except Exception as exp:
            Err.reraise(exp, "Gallery: scrap_original_text")

        Scrap the original text 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:
            original_txt (str): Original text of the specified letter
        
Scrap the original text 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

original_txt (str): Original text of the specified letter
Scrap the original text 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 original_txt ( str ) : Original text of the specified letter
def scrap_original_text(self, route, tag="div", attrs={"class": "content"}):
        try:
            original_txt = self.wpage.scrap_at_position(
                tag=tag, attrs=attrs, position=3, route=route)
            original_txt = self.clrtext(original_txt)
            return original_txt
        except Exception as exp:
            Err.reraise(exp, "Gallery: scrap_original_text")
def scrap_original_text ( self , route , tag = "div" , attrs = { "class" : "content" } ) : try : original_txt = self . wpage . scrap_at_position ( tag = tag , attrs = attrs , position = 3 , route = route ) original_txt = self . clrtext ( original_txt ) return original_txt except Exception as exp : Err . reraise ( exp , "Gallery: scrap_original_text" )
Scrap the original text 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 original text 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 original text 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:
            original_txt (str): Original text of the specified letter
        """
self
route
tag
attrs