Skip to content

Commit d6971d7

Browse files
author
Jasper Mertens
committed
Applied hotfix for cookie consent and fb_dtsg regex
As described here fbchat-dev/fbchat#638 (comment)
1 parent 45416c4 commit d6971d7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fbChatter.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ def __exit__ (self, exc_type, exc_value, traceback):
3030

3131

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

3636
cookies = {}
3737
try:

0 commit comments

Comments
 (0)