cookies from fake fb account
This commit is contained in:
parent
c8a0a5e0c4
commit
bed75e4666
@ -40,7 +40,7 @@ def count_predictions(predictions):
|
||||
def scrapp_comments(url):
|
||||
comments= []
|
||||
all = {}
|
||||
for post in get_posts(post_urls=[url], options={"allow_extra_requests": False, "comments":True, "extra_info":True}):
|
||||
for post in get_posts(post_urls=[url], cookies='fake.txt', options={"allow_extra_requests": False, "comments":True, "extra_info":True}):
|
||||
text_post = post['text']
|
||||
for comment in post['comments_full']:
|
||||
comments.append(comment['comment_text'])
|
||||
|
Loading…
Reference in New Issue
Block a user