add explicits imports instead of implicitly import everything from results.py
This commit is contained in:
parent
b48cabb82f
commit
cf01309b45
|
@ -3,11 +3,18 @@ from bs4 import BeautifulSoup
|
|||
from bs4.element import ResultSet, Tag
|
||||
from cryptography.fernet import Fernet
|
||||
from flask import render_template
|
||||
import urllib.parse as urlparse
|
||||
from urllib.parse import parse_qs
|
||||
import re
|
||||
|
||||
from app.models.g_classes import GClasses
|
||||
from app.request import VALID_PARAMS, MAPS_URL
|
||||
from app.utils.misc import get_abs_url, read_config_bool
|
||||
from app.utils.results import *
|
||||
from app.utils.results import (BLANK_B64, GOOG_IMG, GOOG_STATIC, G_M_LOGO_URL, LOGO_URL,
|
||||
SITE_ALTS, has_ad_content, filter_link_args, append_anon_view, get_site_alt)
|
||||
from app.models.endpoint import Endpoint
|
||||
from app.models.config import Config
|
||||
|
||||
|
||||
minimal_mode_sections = ['Top stories', 'Images', 'People also ask']
|
||||
unsupported_g_pages = [
|
||||
|
|
Loading…
Reference in New Issue
Block a user