def _parse_boxscore(self, game_data):
        """
        Parses the boxscore URI for the game.

        The boxscore is embedded within the HTML tag and needs a special
        parsing scheme in order to be extracted.

        Parameters
        ----------
        game_data : PyQuery object
            A PyQuery object containing the information specific to a game.
        """
        boxscore = game_data('td[data-stat="boxscore"]:first')
        boxscore = re.sub(r'.*/boxes/', '', str(boxscore))
        boxscore = re.sub(r'\.shtml.*', '', boxscore)
        setattr(self, '_boxscore', boxscore)
def _parse_boxscore ( self , game_data ) : boxscore = game_data ( 'td[data-stat="boxscore"]:first' ) boxscore = re . sub ( r'.*/boxes/' , '' , str ( boxscore ) ) boxscore = re . sub ( r'\.shtml.*' , '' , boxscore ) setattr ( self , '_boxscore' , boxscore )
Parses the boxscore URI for the game.

        The boxscore is embedded within the HTML tag and needs a special
        parsing scheme in order to be extracted.

        Parameters
        ----------
        game_data : PyQuery object
            A PyQuery object containing the information specific to a game.