From 0bee3bb1cdfeea2f32f2b944f5681347411658c2 Mon Sep 17 00:00:00 2001 From: ab5olute <43276090+ab5olute@users.noreply.github.com> Date: Tue, 15 Jan 2019 00:27:38 +0500 Subject: [PATCH] Update Chapter02-AdvancedHTMLParsing.ipynb --- Chapter02-AdvancedHTMLParsing.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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])" ] }, {