Add page id to each post data
This commit is contained in:
parent
f0de22a8b1
commit
9f2ae77d2a
1 changed files with 1 additions and 0 deletions
|
@ -18,6 +18,7 @@ def scrape_data(page):
|
||||||
"video": post["video"],
|
"video": post["video"],
|
||||||
"link": post["link"],
|
"link": post["link"],
|
||||||
"time": post["time"].timestamp(),
|
"time": post["time"].timestamp(),
|
||||||
|
"page_id": page,
|
||||||
}
|
}
|
||||||
post_list.append(cleaned_post)
|
post_list.append(cleaned_post)
|
||||||
return post_list
|
return post_list
|
||||||
|
|
Loading…
Reference in a new issue