[feat] engines: add dogpile (general, news, images, videos)

Add support for the Dogpile search engine, found at:

https://seirdy.one/posts/2021/03/10/search-engines-with-own-indexes/

It seems to use the same index as startpage because results are similar and they
share the ``qadf`` (Safe-Search) request parameter.
This commit is contained in:
Bnyro
2026-05-25 22:03:04 +02:00
parent ab13451086
commit 1957876dd6
3 changed files with 130 additions and 1 deletions
+1 -1
View File
@@ -813,7 +813,7 @@ def parse_duration_string(duration_str: str) -> timedelta | None:
# Format the video duration
def format_duration(duration):
def format_duration(duration: str | int) -> str:
seconds = int(duration)
length = time.gmtime(seconds)
if length.tm_hour: