diff options
Diffstat (limited to 'searx/engines')
68 files changed, 69 insertions, 147 deletions
diff --git a/searx/engines/1337x.py b/searx/engines/1337x.py index f9a0d0412..d6f515dc4 100644 --- a/searx/engines/1337x.py +++ b/searx/engines/1337x.py @@ -1,8 +1,6 @@ # SPDX-License-Identifier: AGPL-3.0-or-later # pylint: disable=invalid-name -"""1337x - -""" +"""1337x""" from urllib.parse import quote, urljoin from lxml import html diff --git a/searx/engines/ahmia.py b/searx/engines/ahmia.py index 7c8bb5868..589f38e57 100644 --- a/searx/engines/ahmia.py +++ b/searx/engines/ahmia.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: AGPL-3.0-or-later """ - Ahmia (Onions) +Ahmia (Onions) """ from urllib.parse import urlencode, urlparse, parse_qs diff --git a/searx/engines/apkmirror.py b/searx/engines/apkmirror.py index d9f291c4f..4dc5be8f0 100644 --- a/searx/engines/apkmirror.py +++ b/searx/engines/apkmirror.py @@ -1,6 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""APKMirror -""" +"""APKMirror""" # pylint: disable=invalid-name diff --git a/searx/engines/apple_app_store.py b/searx/engines/apple_app_store.py index 7817848ff..b69d11445 100644 --- a/searx/engines/apple_app_store.py +++ b/searx/engines/apple_app_store.py @@ -1,7 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Apple App Store - -""" +"""Apple App Store""" from json import loads from urllib.parse import urlencode diff --git a/searx/engines/base.py b/searx/engines/base.py index 328a1fc07..900f46a9b 100755 --- a/searx/engines/base.py +++ b/searx/engines/base.py @@ -1,7 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""BASE (Scholar publications) - -""" +"""BASE (Scholar publications)""" from datetime import datetime import re diff --git a/searx/engines/bing_images.py b/searx/engines/bing_images.py index 7d35e1046..d56129707 100644 --- a/searx/engines/bing_images.py +++ b/searx/engines/bing_images.py @@ -1,6 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Bing-Images: description see :py:obj:`searx.engines.bing`. -""" +"""Bing-Images: description see :py:obj:`searx.engines.bing`.""" # pylint: disable=invalid-name import json from urllib.parse import urlencode diff --git a/searx/engines/bing_videos.py b/searx/engines/bing_videos.py index 288805d3d..cfa129791 100644 --- a/searx/engines/bing_videos.py +++ b/searx/engines/bing_videos.py @@ -1,7 +1,6 @@ # SPDX-License-Identifier: AGPL-3.0-or-later # pylint: disable=invalid-name -"""Bing-Videos: description see :py:obj:`searx.engines.bing`. -""" +"""Bing-Videos: description see :py:obj:`searx.engines.bing`.""" import json from urllib.parse import urlencode diff --git a/searx/engines/btdigg.py b/searx/engines/btdigg.py index 5743f4142..c5254fcf4 100644 --- a/searx/engines/btdigg.py +++ b/searx/engines/btdigg.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: AGPL-3.0-or-later """ - BTDigg (Videos, Music, Files) +BTDigg (Videos, Music, Files) """ from urllib.parse import quote, urljoin diff --git a/searx/engines/chefkoch.py b/searx/engines/chefkoch.py index 504b45152..8e4cfa454 100644 --- a/searx/engines/chefkoch.py +++ b/searx/engines/chefkoch.py @@ -1,6 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Chefkoch is a German database of recipes. -""" +"""Chefkoch is a German database of recipes.""" from datetime import datetime from urllib.parse import urlencode diff --git a/searx/engines/cppreference.py b/searx/engines/cppreference.py index 5ffbf6e59..5d021fe66 100644 --- a/searx/engines/cppreference.py +++ b/searx/engines/cppreference.py @@ -1,6 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Cppreference -""" +"""Cppreference""" from lxml import html from searx.utils import eval_xpath diff --git a/searx/engines/deezer.py b/searx/engines/deezer.py index f4a4783ea..1314f1533 100644 --- a/searx/engines/deezer.py +++ b/searx/engines/deezer.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: AGPL-3.0-or-later """ - Deezer (Music) +Deezer (Music) """ from json import loads diff --git a/searx/engines/destatis.py b/searx/engines/destatis.py index 9e5355c6f..e9ac5deae 100644 --- a/searx/engines/destatis.py +++ b/searx/engines/destatis.py @@ -1,6 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""DeStatis -""" +"""DeStatis""" from urllib.parse import urlencode from lxml import html diff --git a/searx/engines/deviantart.py b/searx/engines/deviantart.py index b19813a35..cf7692890 100644 --- a/searx/engines/deviantart.py +++ b/searx/engines/deviantart.py @@ -1,7 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Deviantart (Images) - -""" +"""Deviantart (Images)""" import urllib.parse from lxml import html diff --git a/searx/engines/dictzone.py b/searx/engines/dictzone.py index d393eae92..aa6c4806c 100644 --- a/searx/engines/dictzone.py +++ b/searx/engines/dictzone.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: AGPL-3.0-or-later """ - Dictzone +Dictzone """ import urllib.parse diff --git a/searx/engines/digbt.py b/searx/engines/digbt.py index fd3d1fb16..cbe2e170b 100644 --- a/searx/engines/digbt.py +++ b/searx/engines/digbt.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: AGPL-3.0-or-later """ - DigBT (Videos, Music, Files) +DigBT (Videos, Music, Files) """ from urllib.parse import urljoin diff --git a/searx/engines/docker_hub.py b/searx/engines/docker_hub.py index 021c05827..dc1d1ddfa 100644 --- a/searx/engines/docker_hub.py +++ b/searx/engines/docker_hub.py @@ -1,7 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Docker Hub (IT) - -""" +"""Docker Hub (IT)""" # pylint: disable=use-dict-literal from urllib.parse import urlencode diff --git a/searx/engines/doku.py b/searx/engines/doku.py index 43e6a4a9a..d4a36f7af 100644 --- a/searx/engines/doku.py +++ b/searx/engines/doku.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: AGPL-3.0-or-later """ - Doku Wiki +Doku Wiki """ from urllib.parse import urlencode diff --git a/searx/engines/duden.py b/searx/engines/duden.py index 94dff71ef..c2e758d6f 100644 --- a/searx/engines/duden.py +++ b/searx/engines/duden.py @@ -1,7 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Duden - -""" +"""Duden""" import re from urllib.parse import quote, urljoin diff --git a/searx/engines/dummy-offline.py b/searx/engines/dummy-offline.py index 545c947ff..4e9d8b202 100644 --- a/searx/engines/dummy-offline.py +++ b/searx/engines/dummy-offline.py @@ -1,8 +1,6 @@ # SPDX-License-Identifier: AGPL-3.0-or-later # pylint: disable=invalid-name -"""Dummy Offline - -""" +"""Dummy Offline""" # about diff --git a/searx/engines/dummy.py b/searx/engines/dummy.py index 2d4301b42..e10f90436 100644 --- a/searx/engines/dummy.py +++ b/searx/engines/dummy.py @@ -1,7 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Dummy - -""" +"""Dummy""" # about about = { diff --git a/searx/engines/ebay.py b/searx/engines/ebay.py index f1d09d878..365c5b5cc 100644 --- a/searx/engines/ebay.py +++ b/searx/engines/ebay.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: AGPL-3.0-or-later """ - Ebay (Videos, Music, Files) +Ebay (Videos, Music, Files) """ from urllib.parse import quote diff --git a/searx/engines/fdroid.py b/searx/engines/fdroid.py index 6a6bf63cb..144a47032 100644 --- a/searx/engines/fdroid.py +++ b/searx/engines/fdroid.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: AGPL-3.0-or-later """ - F-Droid (a repository of FOSS applications for Android) +F-Droid (a repository of FOSS applications for Android) """ from urllib.parse import urlencode diff --git a/searx/engines/flickr.py b/searx/engines/flickr.py index 89c3b8cfd..3edfd9997 100644 --- a/searx/engines/flickr.py +++ b/searx/engines/flickr.py @@ -1,8 +1,8 @@ # SPDX-License-Identifier: AGPL-3.0-or-later """ - Flickr (Images) +Flickr (Images) - More info on api-key : https://www.flickr.com/services/apps/create/ +More info on api-key : https://www.flickr.com/services/apps/create/ """ from json import loads diff --git a/searx/engines/flickr_noapi.py b/searx/engines/flickr_noapi.py index e98fd0b1a..e7b8ffaf4 100644 --- a/searx/engines/flickr_noapi.py +++ b/searx/engines/flickr_noapi.py @@ -1,7 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Flickr (Images) - -""" +"""Flickr (Images)""" import json from time import time diff --git a/searx/engines/frinkiac.py b/searx/engines/frinkiac.py index 95a1366de..68894ea31 100644 --- a/searx/engines/frinkiac.py +++ b/searx/engines/frinkiac.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: AGPL-3.0-or-later """ - Frinkiac (Images) +Frinkiac (Images) """ from json import loads diff --git a/searx/engines/fyyd.py b/searx/engines/fyyd.py index 3810e5e81..782fd0208 100644 --- a/searx/engines/fyyd.py +++ b/searx/engines/fyyd.py @@ -1,6 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Fyyd (podcasts) -""" +"""Fyyd (podcasts)""" from datetime import datetime from urllib.parse import urlencode diff --git a/searx/engines/genius.py b/searx/engines/genius.py index 24ab91386..0ef82c541 100644 --- a/searx/engines/genius.py +++ b/searx/engines/genius.py @@ -1,8 +1,6 @@ # SPDX-License-Identifier: AGPL-3.0-or-later # pylint: disable=invalid-name -"""Genius - -""" +"""Genius""" from urllib.parse import urlencode from datetime import datetime diff --git a/searx/engines/github.py b/searx/engines/github.py index 714cb5ca3..0016ea1d8 100644 --- a/searx/engines/github.py +++ b/searx/engines/github.py @@ -1,7 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Github (IT) - -""" +"""Github (IT)""" from urllib.parse import urlencode from dateutil import parser diff --git a/searx/engines/goodreads.py b/searx/engines/goodreads.py index c4b7bb5b1..c1d19eece 100644 --- a/searx/engines/goodreads.py +++ b/searx/engines/goodreads.py @@ -1,6 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Goodreads (books) -""" +"""Goodreads (books)""" from urllib.parse import urlencode diff --git a/searx/engines/google_play.py b/searx/engines/google_play.py index 9853a4911..8135161a1 100644 --- a/searx/engines/google_play.py +++ b/searx/engines/google_play.py @@ -1,6 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Google Play Apps & Google Play Movies -""" +"""Google Play Apps & Google Play Movies""" from urllib.parse import urlencode from lxml import html diff --git a/searx/engines/hackernews.py b/searx/engines/hackernews.py index 46c8cae8d..3b0dd2d87 100644 --- a/searx/engines/hackernews.py +++ b/searx/engines/hackernews.py @@ -1,6 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Hackernews -""" +"""Hackernews""" from datetime import datetime from urllib.parse import urlencode diff --git a/searx/engines/imgur.py b/searx/engines/imgur.py index 7a4793c58..ff7bdffdb 100644 --- a/searx/engines/imgur.py +++ b/searx/engines/imgur.py @@ -1,6 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Imgur (images) -""" +"""Imgur (images)""" from urllib.parse import urlencode from lxml import html diff --git a/searx/engines/ina.py b/searx/engines/ina.py index e5fba20bb..45f871941 100644 --- a/searx/engines/ina.py +++ b/searx/engines/ina.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: AGPL-3.0-or-later """ - INA (Videos) +INA (Videos) """ from html import unescape diff --git a/searx/engines/mediathekviewweb.py b/searx/engines/mediathekviewweb.py index 6d2331a3d..8baa20bdb 100644 --- a/searx/engines/mediathekviewweb.py +++ b/searx/engines/mediathekviewweb.py @@ -1,7 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""MediathekViewWeb (API) - -""" +"""MediathekViewWeb (API)""" import datetime from json import loads, dumps diff --git a/searx/engines/metacpan.py b/searx/engines/metacpan.py index 32bc55b89..a0f9c6f7a 100644 --- a/searx/engines/metacpan.py +++ b/searx/engines/metacpan.py @@ -1,6 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""metacpan -""" +"""metacpan""" from urllib.parse import urlunparse diff --git a/searx/engines/mixcloud.py b/searx/engines/mixcloud.py index 006d59578..af9ad1890 100644 --- a/searx/engines/mixcloud.py +++ b/searx/engines/mixcloud.py @@ -1,7 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Mixcloud (Music) - -""" +"""Mixcloud (Music)""" from urllib.parse import urlencode from dateutil import parser diff --git a/searx/engines/npm.py b/searx/engines/npm.py index ac21a62b8..c2d4284d1 100644 --- a/searx/engines/npm.py +++ b/searx/engines/npm.py @@ -1,7 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""npms.io - -""" +"""npms.io""" from urllib.parse import urlencode from dateutil import parser diff --git a/searx/engines/nyaa.py b/searx/engines/nyaa.py index f3862f503..47c172aae 100644 --- a/searx/engines/nyaa.py +++ b/searx/engines/nyaa.py @@ -1,7 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Nyaa.si (Anime Bittorrent tracker) - -""" +"""Nyaa.si (Anime Bittorrent tracker)""" from urllib.parse import urlencode diff --git a/searx/engines/opensemantic.py b/searx/engines/opensemantic.py index 03b01df43..c5785215f 100644 --- a/searx/engines/opensemantic.py +++ b/searx/engines/opensemantic.py @@ -1,7 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Open Semantic Search - -""" +"""Open Semantic Search""" from json import loads from urllib.parse import quote diff --git a/searx/engines/openstreetmap.py b/searx/engines/openstreetmap.py index 64ed6809b..9a77992db 100644 --- a/searx/engines/openstreetmap.py +++ b/searx/engines/openstreetmap.py @@ -1,7 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""OpenStreetMap (Map) - -""" +"""OpenStreetMap (Map)""" import re import urllib.parse diff --git a/searx/engines/openverse.py b/searx/engines/openverse.py index dc1ee1ac4..6d66d762d 100644 --- a/searx/engines/openverse.py +++ b/searx/engines/openverse.py @@ -1,7 +1,7 @@ # SPDX-License-Identifier: AGPL-3.0-or-later """ - Openverse (formerly known as: Creative Commons search engine) [Images] +Openverse (formerly known as: Creative Commons search engine) [Images] """ diff --git a/searx/engines/pdbe.py b/searx/engines/pdbe.py index ae76a7290..6dcb56169 100644 --- a/searx/engines/pdbe.py +++ b/searx/engines/pdbe.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: AGPL-3.0-or-later """ - PDBe (Protein Data Bank in Europe) +PDBe (Protein Data Bank in Europe) """ from json import loads diff --git a/searx/engines/photon.py b/searx/engines/photon.py index 07fcfdf31..ee45af7c6 100644 --- a/searx/engines/photon.py +++ b/searx/engines/photon.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: AGPL-3.0-or-later """ - Photon (Map) +Photon (Map) """ from json import loads diff --git a/searx/engines/piratebay.py b/searx/engines/piratebay.py index e1f3f611a..2db783356 100644 --- a/searx/engines/piratebay.py +++ b/searx/engines/piratebay.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: AGPL-3.0-or-later """ - Piratebay (Videos, Music, Files) +Piratebay (Videos, Music, Files) """ from json import loads diff --git a/searx/engines/podcastindex.py b/searx/engines/podcastindex.py index 9e04a6f78..e9a927838 100644 --- a/searx/engines/podcastindex.py +++ b/searx/engines/podcastindex.py @@ -1,6 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Podcast Index -""" +"""Podcast Index""" from urllib.parse import quote_plus from datetime import datetime diff --git a/searx/engines/pypi.py b/searx/engines/pypi.py index 7ebb254f3..f2069126d 100644 --- a/searx/engines/pypi.py +++ b/searx/engines/pypi.py @@ -1,7 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""pypi.org - -""" +"""pypi.org""" from urllib.parse import urlencode from dateutil import parser diff --git a/searx/engines/reddit.py b/searx/engines/reddit.py index 263b70b73..1a44594ed 100644 --- a/searx/engines/reddit.py +++ b/searx/engines/reddit.py @@ -1,7 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Reddit - -""" +"""Reddit""" import json from datetime import datetime diff --git a/searx/engines/rottentomatoes.py b/searx/engines/rottentomatoes.py index 131abfaa3..d07504b50 100644 --- a/searx/engines/rottentomatoes.py +++ b/searx/engines/rottentomatoes.py @@ -1,6 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""RottenTomatoes (movies) -""" +"""RottenTomatoes (movies)""" from urllib.parse import quote_plus from lxml import html diff --git a/searx/engines/rumble.py b/searx/engines/rumble.py index 5267e04c0..8f84aa269 100644 --- a/searx/engines/rumble.py +++ b/searx/engines/rumble.py @@ -1,7 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Rumble (Videos) - -""" +"""Rumble (Videos)""" from datetime import datetime diff --git a/searx/engines/scanr_structures.py b/searx/engines/scanr_structures.py index 7a5415e54..a3e27f58c 100644 --- a/searx/engines/scanr_structures.py +++ b/searx/engines/scanr_structures.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: AGPL-3.0-or-later """ - ScanR Structures (Science) +ScanR Structures (Science) """ from json import loads, dumps diff --git a/searx/engines/searx_engine.py b/searx/engines/searx_engine.py index 156001997..1a67743f4 100644 --- a/searx/engines/searx_engine.py +++ b/searx/engines/searx_engine.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: AGPL-3.0-or-later """ - Searx (all) +Searx (all) """ from json import loads diff --git a/searx/engines/senscritique.py b/searx/engines/senscritique.py index cf1765624..f4dd972ea 100644 --- a/searx/engines/senscritique.py +++ b/searx/engines/senscritique.py @@ -1,6 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""SensCritique (movies) -""" +"""SensCritique (movies)""" import typing as t diff --git a/searx/engines/seznam.py b/searx/engines/seznam.py index d480956bd..c7e0fe75f 100644 --- a/searx/engines/seznam.py +++ b/searx/engines/seznam.py @@ -1,7 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Seznam - -""" +"""Seznam""" from urllib.parse import urlencode from lxml import html diff --git a/searx/engines/solidtorrents.py b/searx/engines/solidtorrents.py index c2f7e435e..9a3608a87 100644 --- a/searx/engines/solidtorrents.py +++ b/searx/engines/solidtorrents.py @@ -1,7 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""SolidTorrents - -""" +"""SolidTorrents""" from datetime import datetime from urllib.parse import urlencode diff --git a/searx/engines/spotify.py b/searx/engines/spotify.py index 3b86328b7..67d570bd2 100644 --- a/searx/engines/spotify.py +++ b/searx/engines/spotify.py @@ -1,7 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Spotify (Music) - -""" +"""Spotify (Music)""" from json import loads from urllib.parse import urlencode diff --git a/searx/engines/svgrepo.py b/searx/engines/svgrepo.py index 0b821ed64..10ee92d39 100644 --- a/searx/engines/svgrepo.py +++ b/searx/engines/svgrepo.py @@ -1,6 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Svgrepo (icons) -""" +"""Svgrepo (icons)""" from lxml import html from searx.utils import extract_text, eval_xpath, eval_xpath_list diff --git a/searx/engines/tokyotoshokan.py b/searx/engines/tokyotoshokan.py index ad0be1985..b53d78eb3 100644 --- a/searx/engines/tokyotoshokan.py +++ b/searx/engines/tokyotoshokan.py @@ -1,7 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Tokyo Toshokan (A BitTorrent Library for Japanese Media) - -""" +"""Tokyo Toshokan (A BitTorrent Library for Japanese Media)""" import re from datetime import datetime diff --git a/searx/engines/tootfinder.py b/searx/engines/tootfinder.py index 806a7d688..bbfb7e4a0 100644 --- a/searx/engines/tootfinder.py +++ b/searx/engines/tootfinder.py @@ -1,6 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Tootfinder (social media) -""" +"""Tootfinder (social media)""" from datetime import datetime from json import loads diff --git a/searx/engines/translated.py b/searx/engines/translated.py index 08808cfd2..57f00bcff 100644 --- a/searx/engines/translated.py +++ b/searx/engines/translated.py @@ -1,7 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""MyMemory Translated - -""" +"""MyMemory Translated""" import urllib.parse diff --git a/searx/engines/unsplash.py b/searx/engines/unsplash.py index cfffdd4e3..337c8a710 100644 --- a/searx/engines/unsplash.py +++ b/searx/engines/unsplash.py @@ -1,7 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Unsplash - -""" +"""Unsplash""" from urllib.parse import urlencode, urlparse, urlunparse, parse_qsl from json import loads diff --git a/searx/engines/vimeo.py b/searx/engines/vimeo.py index d46468d8d..6d1420679 100644 --- a/searx/engines/vimeo.py +++ b/searx/engines/vimeo.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: AGPL-3.0-or-later """ - Wikipedia (Web +Wikipedia (Web """ from urllib.parse import urlencode diff --git a/searx/engines/wikicommons.py b/searx/engines/wikicommons.py index 214881bed..718cd45d5 100644 --- a/searx/engines/wikicommons.py +++ b/searx/engines/wikicommons.py @@ -1,7 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Wikimedia Commons (images) - -""" +"""Wikimedia Commons (images)""" import datetime diff --git a/searx/engines/wolframalpha_api.py b/searx/engines/wolframalpha_api.py index 60892d4d8..c3483307e 100644 --- a/searx/engines/wolframalpha_api.py +++ b/searx/engines/wolframalpha_api.py @@ -1,7 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Wolfram|Alpha (Science) - -""" +"""Wolfram|Alpha (Science)""" from urllib.parse import urlencode diff --git a/searx/engines/wolframalpha_noapi.py b/searx/engines/wolframalpha_noapi.py index 279d47a3d..c001b5c06 100644 --- a/searx/engines/wolframalpha_noapi.py +++ b/searx/engines/wolframalpha_noapi.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: AGPL-3.0-or-later """ - Wolfram|Alpha (Science) +Wolfram|Alpha (Science) """ diff --git a/searx/engines/www1x.py b/searx/engines/www1x.py index 0d4b6b799..9c5f01e3a 100644 --- a/searx/engines/www1x.py +++ b/searx/engines/www1x.py @@ -1,7 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""1x (Images) - -""" +"""1x (Images)""" from urllib.parse import urlencode, urljoin from lxml import html, etree diff --git a/searx/engines/yep.py b/searx/engines/yep.py index a5c705533..726f62c0d 100644 --- a/searx/engines/yep.py +++ b/searx/engines/yep.py @@ -1,6 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Yep (general, images, news) -""" +"""Yep (general, images, news)""" from datetime import datetime from urllib.parse import urlencode diff --git a/searx/engines/youtube_api.py b/searx/engines/youtube_api.py index 4192530b9..ebecd5432 100644 --- a/searx/engines/youtube_api.py +++ b/searx/engines/youtube_api.py @@ -1,6 +1,6 @@ # SPDX-License-Identifier: AGPL-3.0-or-later """ - Youtube (Videos) +Youtube (Videos) """ from json import loads diff --git a/searx/engines/youtube_noapi.py b/searx/engines/youtube_noapi.py index c2136c3ca..51372397c 100644 --- a/searx/engines/youtube_noapi.py +++ b/searx/engines/youtube_noapi.py @@ -1,7 +1,5 @@ # SPDX-License-Identifier: AGPL-3.0-or-later -"""Youtube (Videos) - -""" +"""Youtube (Videos)""" from functools import reduce from json import loads, dumps |