diff --git a/Chapter02-AdvancedHTMLParsing.ipynb b/Chapter02-AdvancedHTMLParsing.ipynb index 6779c08..cb943ee 100644 --- a/Chapter02-AdvancedHTMLParsing.ipynb +++ b/Chapter02-AdvancedHTMLParsing.ipynb @@ -227,8 +227,8 @@ } ], "source": [ - "title = bs.find_all(id='title', class_='text')\n", - "print([text for text in allText])" + "titles = bs.find_all(id='title', class_='text')\n", + "print([title for title in titles])" ] }, {