diff --git a/ventus/ventus.py b/ventus/ventus.py index 3b54f1e..16c1248 100644 --- a/ventus/ventus.py +++ b/ventus/ventus.py @@ -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) \ No newline at end of file + return links \ No newline at end of file