updated
This commit is contained in:
@@ -142,7 +142,10 @@ data:
|
|||||||
if not title:
|
if not title:
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
moly_id = self._parse_moly_id(url)
|
||||||
|
|
||||||
match = MetaRecord(
|
match = MetaRecord(
|
||||||
|
id=moly_id,
|
||||||
title=title,
|
title=title,
|
||||||
authors=authors if authors else [""],
|
authors=authors if authors else [""],
|
||||||
source=MetaSourceInfo(
|
source=MetaSourceInfo(
|
||||||
@@ -151,7 +154,7 @@ data:
|
|||||||
link=self.BASE_URL
|
link=self.BASE_URL
|
||||||
),
|
),
|
||||||
url=url,
|
url=url,
|
||||||
identifiers={"moly_hu": self._parse_moly_id(url)},
|
identifiers={"moly_hu": moly_id},
|
||||||
)
|
)
|
||||||
|
|
||||||
# Optional fields
|
# Optional fields
|
||||||
|
|||||||
Reference in New Issue
Block a user