def handle_message(self, embed): if self.state.get_last_command().startswith('$imab'): self.scrape_bundle_series(embed) else: Writer.write_scraped_data(self.state.get_current_filename(), embed.author.name) self.scrape_characters(embed.description) self.continuation_check(embed.footer)
def scrape_characters(self, description): output_text = Parser.sanitize_characters(description) Writer.write_scraped_data(self.state.get_current_filename(), output_text)