Commit
•
69c49e0
1
Parent(s):
b4cfae9
Update pages/10_ETScrapper.py
Browse files- pages/10_ETScrapper.py +2 -2
pages/10_ETScrapper.py
CHANGED
@@ -19,8 +19,8 @@ if st.button('Scrape'):
|
|
19 |
st.text_area('Scraped Content', content, height=300)
|
20 |
|
21 |
# Provide a download link
|
22 |
-
buffer = io.
|
23 |
-
buffer.write(content)
|
24 |
buffer.seek(0)
|
25 |
st.download_button(
|
26 |
label="Download Extracted Text",
|
|
|
19 |
st.text_area('Scraped Content', content, height=300)
|
20 |
|
21 |
# Provide a download link
|
22 |
+
buffer = io.BytesIO()
|
23 |
+
buffer.write(content.encode('utf-8'))
|
24 |
buffer.seek(0)
|
25 |
st.download_button(
|
26 |
label="Download Extracted Text",
|