Browse Source

Add page id to each post data

Arnaud Vergnet 3 years ago
parent
commit
9f2ae77d2a
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      facebook/facebook_handler.py

+ 1
- 0
facebook/facebook_handler.py View File

@@ -18,6 +18,7 @@ def scrape_data(page):
18 18
             "video": post["video"],
19 19
             "link": post["link"],
20 20
             "time": post["time"].timestamp(),
21
+            "page_id": page,
21 22
         }
22 23
         post_list.append(cleaned_post)
23 24
     return post_list

Loading…
Cancel
Save