jonbakerfish / TweetScraper

TweetScraper is a simple crawler/spider for Twitter Search without using API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

can't get "gt" property in update_cookie function

CGNHACKER opened this issue · comments

I found this problem while running script on aws (ec2) error message is "cookies are not updated!" but in local (window) and local (wsl2 ubuntu) not problem.

I try print driver.get_cookies() this is response. How should I fix it?

[
    {'name': 'personalization_id', 'value': '"xxxxx"', 'path': '/', 'domain': '.twitter.com', 'secure': True, 'httpOnly': False, 'expiry': xxxxxx, 'sameSite': 'None'}, 
    {'name': 'guest_id', 'value': 'xxxxx', 'path': '/', 'domain': '.twitter.com', 'secure': True, 'httpOnly': False, 'expiry': xxxxx, 'sameSite': 'None'}, 
    {'name': 'ct0', 'value': 'xxxxx', 'path': '/', 'domain': '.twitter.com', 'secure': True, 'httpOnly': False, 'expiry': xxxxx, 'sameSite': 'None'}, 
    {'name': '_ga', 'value': 'xxxxxxxx', 'path': '/', 'domain': '.twitter.com', 'secure': False, 'httpOnly': False, 'expiry': xxxxxx, 'sameSite': 'None'}, 
    {'name': '_gid', 'value': 'xxxxxx', 'path': '/', 'domain': '.twitter.com', 'secure': False, 'httpOnly': False, 'expiry': xxxxxx, 'sameSite': 'None'}
]