Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,6 @@ def get_backlinks(api_login, api_key, target_url, filters):
|
|
37 |
if task_result and 'items' in task_result[0]:
|
38 |
# The actual backlink items are nested within 'items'
|
39 |
items = task_result[0]['items']
|
40 |
-
st.text(f"First few items: {items[:5]}") # Debugging line to show the items structure
|
41 |
|
42 |
# Convert to DataFrame
|
43 |
df = pd.json_normalize(items)
|
@@ -64,7 +63,7 @@ api_key = st.sidebar.text_input("API Key", type="password")
|
|
64 |
|
65 |
# Filters input
|
66 |
st.sidebar.title("Filters")
|
67 |
-
st.sidebar.
|
68 |
url_from_not_contain = st.sidebar.text_input("URL from does not contain (comma-separated)", value="keyword,blogspot,/search,/tag")
|
69 |
backlink_spam_score = st.sidebar.number_input("Backlink Spam Score ≤", value=20)
|
70 |
page_from_rank_value = st.sidebar.number_input("Page From Rank Value ≥", value=0)
|
|
|
37 |
if task_result and 'items' in task_result[0]:
|
38 |
# The actual backlink items are nested within 'items'
|
39 |
items = task_result[0]['items']
|
|
|
40 |
|
41 |
# Convert to DataFrame
|
42 |
df = pd.json_normalize(items)
|
|
|
63 |
|
64 |
# Filters input
|
65 |
st.sidebar.title("Filters")
|
66 |
+
st.sidebar.info ("A maximum of 8 filters are allowed through the API. That includes one for every comma-separated value below, one for every value not equal to 0 in the boxes, one for language, and one for each button ticked.")
|
67 |
url_from_not_contain = st.sidebar.text_input("URL from does not contain (comma-separated)", value="keyword,blogspot,/search,/tag")
|
68 |
backlink_spam_score = st.sidebar.number_input("Backlink Spam Score ≤", value=20)
|
69 |
page_from_rank_value = st.sidebar.number_input("Page From Rank Value ≥", value=0)
|