diff --git a/customcommands/webscraper.py b/customcommands/webscraper.py index b124c90..4c7f8ce 100644 --- a/customcommands/webscraper.py +++ b/customcommands/webscraper.py @@ -73,7 +73,7 @@ class WebScraper(commands.Cog): soup = BeautifulSoup(html, "html.parser") - for paragraph in soup.find_all('p'): + for paragraph in soup.find_all('a'): sentences = self.extract_sentences(paragraph.get_text()) self.save_to_json(sentences)