Update app.py
Browse files
app.py
CHANGED
@@ -115,14 +115,9 @@ filters.append("and")
|
|
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":
|
127 |
filters.pop()
|
128 |
|
|
|
115 |
filters.append(["page_from_language", "=", page_from_language])
|
116 |
filters.append("and")
|
117 |
|
|
|
|
|
|
|
|
|
118 |
filters.append(["domain_from_rank", ">=", 100])
|
119 |
filters.append("and")
|
120 |
|
|
|
121 |
if filters and filters[-1] == "and":
|
122 |
filters.pop()
|
123 |
|