Update app.py
Browse files
app.py
CHANGED
@@ -56,6 +56,10 @@ if uploaded_file is not None:
|
|
56 |
# Display results for each URL
|
57 |
st.write(f"URL: {url}, Author: {author}, Published Time: {published_time}, Modified Time: {modified_time}")
|
58 |
|
59 |
-
# Display
|
60 |
-
st.success("Scraping completed successfully! Click the
|
61 |
-
st.
|
|
|
|
|
|
|
|
|
|
56 |
# Display results for each URL
|
57 |
st.write(f"URL: {url}, Author: {author}, Published Time: {published_time}, Modified Time: {modified_time}")
|
58 |
|
59 |
+
# Display button to download the output text file
|
60 |
+
st.success("Scraping completed successfully! Click the button below to download the results.")
|
61 |
+
st.download_button(
|
62 |
+
label="Download Results",
|
63 |
+
data=output_file_path,
|
64 |
+
key="download_button"
|
65 |
+
)
|