Skip to content

Commit

Permalink
removed example from ventus
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronlyy committed Apr 18, 2022
1 parent e6816d0 commit be987a9
Showing 1 changed file with 1 addition and 13 deletions.
14 changes: 1 addition & 13 deletions ventus/ventus.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,16 +135,4 @@ def search(self, query: Query) -> list:
"""
html = self._request(query)
links = self._parse(html)
return links

if __name__ == "__main__":
q = Query()
q.add_filter(Filter.INTITLE, "index of /")
q.add_filter(Filter.AND)
q.add_filter(Filter.INTEXT)
q.add_keyword_group(["Backup", "backup", "recovery"])
q.add_filter(Filter.AND)
q.add_filter(Filter.INTITLE)
q.add_keyword_group(["iphone", "samsung", "huawei"])

print(q)
return links

0 comments on commit be987a9

Please sign in to comment.