m. polinsky
commited on
Update scrape_sources.py
Browse files- scrape_sources.py +1 -1
scrape_sources.py
CHANGED
|
@@ -122,7 +122,7 @@ class CNNText(Source):
|
|
| 122 |
#if isinstance(story_container, Soup):
|
| 123 |
# return None, None
|
| 124 |
scp = story_container.find('p')[4:]
|
| 125 |
-
|
| 126 |
whole_text = ''.join([i.text for i in scp if i.text is not None])
|
| 127 |
article_data = [
|
| 128 |
self,
|
|
|
|
| 122 |
#if isinstance(story_container, Soup):
|
| 123 |
# return None, None
|
| 124 |
scp = story_container.find('p')[4:]
|
| 125 |
+
|
| 126 |
whole_text = ''.join([i.text for i in scp if i.text is not None])
|
| 127 |
article_data = [
|
| 128 |
self,
|