delete cookies

This commit is contained in:
Maciej Ścigacz 2023-06-01 01:50:59 +02:00
parent ee68b9d9ad
commit c8a0a5e0c4
2 changed files with 1 additions and 13 deletions

View File

@ -40,7 +40,7 @@ def count_predictions(predictions):
def scrapp_comments(url):
comments= []
all = {}
for post in get_posts(post_urls=[url], cookies = 'cookies.txt', options={"allow_extra_requests": False, "comments":True, "extra_info":True}):
for post in get_posts(post_urls=[url], 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'])

View File

@ -1,12 +0,0 @@
# Netscape HTTP Cookie File
# http://curl.haxx.se/rfc/cookie_spec.html
# This is a generated file! Do not edit.
.facebook.com TRUE / TRUE 1686180732 dpr 1.25
.facebook.com TRUE / TRUE 1701124313 datr 18p3ZDh9mw_mdpJuI8VFDU2q
.facebook.com TRUE / TRUE 1701127931 sb 3sp3ZGBg-JI_A1JQ39EQOM_8
.facebook.com TRUE / TRUE 1686180732 wd 1536x726
.facebook.com TRUE / TRUE 1701127931 c_user 100093227828880
.facebook.com TRUE / TRUE 1701127931 xs 44%3AeM4M91tnIqOXGQ%3A2%3A1685575929%3A-1%3A-1
.facebook.com TRUE / TRUE 1693351930 fr 0hOPKFX51z7CbDa9l.AWX3pYnlFnJEPuQJ2SZfNNNJ51M.Bkd9j4.ri.AAA.0.0.Bkd9j7.AWUlmK8f_OU
.facebook.com TRUE / TRUE 0 presence C%7B%22t3%22%3A%5B%5D%2C%22utc3%22%3A1685575937016%2C%22v%22%3A1%7D