Update app.py
Browse files
app.py
CHANGED
@@ -75,10 +75,11 @@ with col1:
|
|
75 |
|
76 |
with col2:
|
77 |
st.header("Output")
|
|
|
78 |
|
79 |
# Generate CSV and download button
|
80 |
if generate_button and target_url:
|
81 |
-
data = get_backlinks(api_key, target_url, filters)
|
82 |
if data:
|
83 |
df = pd.DataFrame(data)
|
84 |
csv = df.to_csv(index=False)
|
@@ -89,3 +90,4 @@ if generate_button and target_url:
|
|
89 |
# Reset functionality
|
90 |
if reset_button:
|
91 |
st.experimental_rerun()
|
|
|
|
75 |
|
76 |
with col2:
|
77 |
st.header("Output")
|
78 |
+
# [Your code for displaying output]
|
79 |
|
80 |
# Generate CSV and download button
|
81 |
if generate_button and target_url:
|
82 |
+
data = get_backlinks(api_login, api_key, target_url, filters)
|
83 |
if data:
|
84 |
df = pd.DataFrame(data)
|
85 |
csv = df.to_csv(index=False)
|
|
|
90 |
# Reset functionality
|
91 |
if reset_button:
|
92 |
st.experimental_rerun()
|
93 |
+
|