[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
1 changed files with 4 additions and 6 deletions

View File

@ -1,12 +1,12 @@
# SPDX-License-Identifier: AGPL-3.0-or-later # SPDX-License-Identifier: AGPL-3.0-or-later
""" # lint: pylint
Invidious (Videos) """Invidious (Videos)
""" """
from urllib.parse import quote_plus
from dateutil import parser
import time import time
import random import random
from urllib.parse import quote_plus
from dateutil import parser
# about # about
about = { about = {
@ -27,7 +27,6 @@ time_range_support = True
base_url = 'https://vid.puffyan.us' base_url = 'https://vid.puffyan.us'
# do search-request
def request(query, params): def request(query, params):
time_range_dict = { time_range_dict = {
"day": "today", "day": "today",
@ -55,7 +54,6 @@ def request(query, params):
return params return params
# get response from search-request
def response(resp): def response(resp):
results = [] results = []