From b35ef9789bc1f302ca28f46716ac9864622559d5 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Fri, 4 Feb 2022 15:20:57 +0100 Subject: [PATCH] [pylint] engines/invidious.py Fix remarks from pylint and remove usless comments Signed-off-by: Markus Heiser --- searx/engines/invidious.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/searx/engines/invidious.py b/searx/engines/invidious.py index 931fd1066..badef57fd 100644 --- a/searx/engines/invidious.py +++ b/searx/engines/invidious.py @@ -1,12 +1,12 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -""" - Invidious (Videos) +# lint: pylint +"""Invidious (Videos) """ -from urllib.parse import quote_plus -from dateutil import parser import time import random +from urllib.parse import quote_plus +from dateutil import parser # about about = { @@ -27,7 +27,6 @@ time_range_support = True base_url = 'https://vid.puffyan.us' -# do search-request def request(query, params): time_range_dict = { "day": "today", @@ -55,7 +54,6 @@ def request(query, params): return params -# get response from search-request def response(resp): results = []