From 9f2ae77d2ab864f2851a487cefe89c66015384e6 Mon Sep 17 00:00:00 2001 From: Arnaud Vergnet Date: Sat, 8 Aug 2020 16:24:18 +0200 Subject: [PATCH] Add page id to each post data --- facebook/facebook_handler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/facebook/facebook_handler.py b/facebook/facebook_handler.py index 0f0e847..a3a6b7e 100644 --- a/facebook/facebook_handler.py +++ b/facebook/facebook_handler.py @@ -18,6 +18,7 @@ def scrape_data(page): "video": post["video"], "link": post["link"], "time": post["time"].timestamp(), + "page_id": page, } post_list.append(cleaned_post) return post_list