mirror of
https://github.com/bellingcat/auto-archiver.git
synced 2026-06-12 21:28:29 +03:00
reset generic_extractor description in result
This commit is contained in:
@@ -306,7 +306,7 @@ class GenericExtractor(Extractor):
|
|||||||
result.set_url(url)
|
result.set_url(url)
|
||||||
|
|
||||||
if "description" in video_data and not result.get("content"):
|
if "description" in video_data and not result.get("content"):
|
||||||
result.set_content(video_data.pop("description"))
|
result.set_content(video_data.get("description"))
|
||||||
# extract comments if enabled
|
# extract comments if enabled
|
||||||
if self.comments and video_data.get("comments", []) is not None:
|
if self.comments and video_data.get("comments", []) is not None:
|
||||||
result.set(
|
result.set(
|
||||||
|
|||||||
Reference in New Issue
Block a user