From 263705733f4adc111ba90fcc2a28d6dab20ce683 Mon Sep 17 00:00:00 2001 From: woyeso <80009499+woyeso@users.noreply.github.com> Date: Wed, 1 Dec 2021 21:00:04 +0300 Subject: [PATCH] Update 1-Data-Cleaning.ipynb --- 1-Data-Cleaning.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-Data-Cleaning.ipynb b/1-Data-Cleaning.ipynb index 7bcb2cf..0d025d5 100644 --- a/1-Data-Cleaning.ipynb +++ b/1-Data-Cleaning.ipynb @@ -80,7 +80,7 @@ " '''Returns transcript data specifically from scrapsfromtheloft.com.'''\n", " page = requests.get(url).text\n", " soup = BeautifulSoup(page, \"lxml\")\n", - " text = [p.text for p in soup.find(class_=\"post-content\").find_all('p')]\n", + " text = [p.text for p in soup.find(class_=\"ast-container\").find_all('p')]\n", " print(url)\n", " return text\n", "\n",