From 4f625fb18e61d5440da8499816ce03d6e6c5a242 Mon Sep 17 00:00:00 2001 From: jacr13 Date: Wed, 15 Jun 2022 19:52:35 +0200 Subject: [PATCH] import get_first_link from the correct place --- app/utils/search.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/utils/search.py b/app/utils/search.py index 7815d24..ada83f4 100644 --- a/app/utils/search.py +++ b/app/utils/search.py @@ -2,8 +2,9 @@ import os import re from typing import Any -from app.filter import Filter, get_first_link +from app.filter import Filter from app.request import gen_query +from app.utils.results import get_first_link from bs4 import BeautifulSoup as bsoup from cryptography.fernet import Fernet, InvalidToken from flask import g