[facebook] extract 'biography' metadata (#8233)

This commit is contained in:
Mike Fährmann
2025-09-17 21:07:49 +02:00
parent db208ca1bd
commit 312f921959
2 changed files with 17 additions and 0 deletions

View File

@@ -369,6 +369,8 @@ class FacebookExtractor(Extractor):
for edge in (user["profile_tabs"]["profile_user"]
["timeline_nav_app_sections"]["edges"])
]
user["biography"] = self.decode_all(text.extr(
page, '"best_description":{"text":"', '"'))
except Exception:
if user is None:
self.log.debug("Failed to extract user data: %s", data)