feat: get_abstract 优化2
This commit is contained in:
parent
3d08c4aeee
commit
38c4d8109b
|
|
@ -193,8 +193,6 @@ def get_abstract_from_elsevier(number_of_task:int = 20, exclude_failed:bool=True
|
|||
# )
|
||||
if exclude_failed:
|
||||
qs = qs.filter(fail_reason=None)
|
||||
else:
|
||||
qs = qs.exclude(fail_reason__contains="elsevier_")
|
||||
qs = qs.exclude(fetch_status="downloading"
|
||||
).filter(doi__startswith="10.1016").order_by("?")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue