def get_title(self):
if self.category == '<STR_LIT>':<EOL><INDENT>strings = get_strings(self.soup, '<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>strings = get_strings(self.soup, '<STR_LIT:b>')<EOL><DEDENT>if len(strings) == <NUM_LIT:0>:<EOL><INDENT>strings = get_strings(self.soup, '<STR_LIT>')<EOL><DEDENT>if len(strings) >= <NUM_LIT:1> and self.category == '<STR_LIT>':<EOL><INDENT>return strings[<NUM_LIT:0>]<EOL><DEDENT>elif len(strings) > <NUM_LIT:0> and '<STR_LIT>' in strings[-<NUM_LIT:1>]:<EOL><INDENT>return strings[<NUM_LIT:0>]<EOL><DEDENT>return '<STR_LIT>'.join(strings)<EOL>
Title is either the chart header for a cable ratings page or above
        the opening description for a broadcast ratings page.