Update app.py
Browse files
app.py
CHANGED
@@ -111,13 +111,16 @@ if domain_from_rank_value != 0:
|
|
111 |
|
112 |
filters.append(["backlink_spam_score", "<=", backlink_spam_score])
|
113 |
filters.append("and")
|
|
|
114 |
filters.append(["page_from_language", "=", page_from_language])
|
|
|
115 |
|
116 |
filters.append(["anchor", "not_like", ""]) # Assuming empty string represents empty anchor
|
117 |
filters.append("and")
|
118 |
|
119 |
# Filter for domain from rank being greater than or equal to 100
|
120 |
filters.append(["domain_from_rank", ">=", 100])
|
|
|
121 |
|
122 |
# Remove the last "and" if it's the last element
|
123 |
if filters and filters[-1] == "and":
|
|
|
111 |
|
112 |
filters.append(["backlink_spam_score", "<=", backlink_spam_score])
|
113 |
filters.append("and")
|
114 |
+
|
115 |
filters.append(["page_from_language", "=", page_from_language])
|
116 |
+
filters.append("and")
|
117 |
|
118 |
filters.append(["anchor", "not_like", ""]) # Assuming empty string represents empty anchor
|
119 |
filters.append("and")
|
120 |
|
121 |
# Filter for domain from rank being greater than or equal to 100
|
122 |
filters.append(["domain_from_rank", ">=", 100])
|
123 |
+
filters.append("and")
|
124 |
|
125 |
# Remove the last "and" if it's the last element
|
126 |
if filters and filters[-1] == "and":
|