From 3ecd72756a08967d9f050b29f7572b09761291c5 Mon Sep 17 00:00:00 2001 From: shaohuzhang1 Date: Mon, 29 Jul 2024 17:13:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8DWEB=20=E7=9F=A5?= =?UTF-8?q?=E8=AF=86=E5=BA=93=E6=89=B9=E9=87=8F=E5=AF=BC=E5=85=A5=E6=96=87?= =?UTF-8?q?=E6=A1=A3=EF=BC=8C=E4=B8=AD=E9=97=B4=E6=9C=89=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E7=9A=84=EF=BC=8C=E5=90=8E=E9=9D=A2=E7=9A=84=E6=96=87=E6=A1=A3?= =?UTF-8?q?=E9=83=BD=E4=B8=8D=E4=BC=9A=E5=AF=BC=E5=85=A5=20#677?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/dataset/serializers/document_serializers.py | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/dataset/serializers/document_serializers.py b/apps/dataset/serializers/document_serializers.py index 654a31c75..94b9b4709 100644 --- a/apps/dataset/serializers/document_serializers.py +++ b/apps/dataset/serializers/document_serializers.py @@ -675,6 +675,7 @@ def handler(source_url: str, selector, response: Fork.Response): logging.getLogger("max_kb_error").error(f'{str(e)}:{traceback.format_exc()}') else: Document(name=source_url[0:128], + dataset_id=dataset_id, meta={'source_url': source_url, 'selector': selector}, type=Type.web, char_length=0,