Skip to content

Commit 8e24cce

Browse files
authored
Update 1-Data-Cleaning.ipynb
1 parent b03c231 commit 8e24cce

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

1-Data-Cleaning.ipynb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,9 @@
8080
" '''Returns transcript data specifically from scrapsfromtheloft.com.'''\n",
8181
" page = requests.get(url).text\n",
8282
" soup = BeautifulSoup(page, \"lxml\")\n",
83-
" text = [p.text for p in soup.find(class_=\"ast-container\").find_all('p')]\n",
83+
" #text = [p.text for p in soup.find(class_=\"ast-container\").find_all('p')]\n",
84+
" # page html code was modified this line of code can be formated like this\n",
85+
" text = [p.text for p in soup.find_all('p')]\n",
8486
" print(url)\n",
8587
" return text\n",
8688
"\n",

0 commit comments

Comments
 (0)