Spaces:
Runtime error
Runtime error
Commit
·
f284c49
1
Parent(s):
e72642d
return content
Browse files- scrape_website.py +1 -0
scrape_website.py
CHANGED
@@ -43,6 +43,7 @@ def process_webpage(url:str):
|
|
43 |
page_content = "\n".join(text_list)
|
44 |
# Print the text content of the landing page and all child pages
|
45 |
print(page_content)
|
|
|
46 |
|
47 |
|
48 |
if __name__ == '__main__':
|
|
|
43 |
page_content = "\n".join(text_list)
|
44 |
# Print the text content of the landing page and all child pages
|
45 |
print(page_content)
|
46 |
+
return page_content
|
47 |
|
48 |
|
49 |
if __name__ == '__main__':
|