wrong letter at line 76 (you typed a p instead of an a)
This commit is contained in:
parent
5d818a905e
commit
c91a1e60ec
1 changed files with 1 additions and 1 deletions
|
@ -73,7 +73,7 @@ class WebScraper(commands.Cog):
|
||||||
|
|
||||||
soup = BeautifulSoup(html, "html.parser")
|
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())
|
sentences = self.extract_sentences(paragraph.get_text())
|
||||||
self.save_to_json(sentences)
|
self.save_to_json(sentences)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue