Skip to content

Commit

Permalink
Applied hotfix for cookie consent and fb_dtsg regex
Browse files Browse the repository at this point in the history
  • Loading branch information
Jasper Mertens committed Mar 21, 2021
1 parent 45416c4 commit d6971d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions fbChatter.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ def __exit__ (self, exc_type, exc_value, traceback):


def startClientSession (self):
# Hack: see https://github.com/fbchat-dev/fbchat/issues/619
fbchat._state.FB_DTSG_REGEX = re.compile(r'"name":"fb_dtsg","value":"(.*?)"')
# Hack: see https://github.com/fbchat-dev/fbchat/issues/638#issuecomment-800518857
fbchat._state.FB_DTSG_REGEX = re.compile(r'"token":"(.*?)"')

cookies = {}
try:
Expand Down

0 comments on commit d6971d7

Please sign in to comment.