1
0
mirror of https://github.com/searxng/searxng.git synced 2024-11-22 12:10:11 +01:00

[pylint] engines/invidious.py

Fix remarks from pylint and remove usless comments

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2022-02-04 15:20:57 +01:00
parent e2ec6b4211
commit b35ef9789b

View File

@ -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 = []