mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-07-22 23:31:12 +02:00
chore(lint): ruff checks
This commit is contained in:
parent
34fbee0c28
commit
8f30cfd69a
8 changed files with 44 additions and 26 deletions
|
|
@ -118,7 +118,9 @@ class ConnectorService:
|
|||
|
||||
# Extract webcrawler-specific metadata
|
||||
url = metadata.get("source", metadata.get("url", ""))
|
||||
title = document.get("title", metadata.get("title", "Untitled Document"))
|
||||
title = document.get(
|
||||
"title", metadata.get("title", "Untitled Document")
|
||||
)
|
||||
description = metadata.get("description", "")
|
||||
language = metadata.get("language", "")
|
||||
last_crawled_at = metadata.get("last_crawled_at", "")
|
||||
|
|
@ -2573,4 +2575,4 @@ class ConnectorService:
|
|||
"sources": sources_list,
|
||||
}
|
||||
|
||||
return result_object, elasticsearch_chunks
|
||||
return result_object, elasticsearch_chunks
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue