Open mossmoss opened 1 year ago
I have the same error. I don't think that the problem is on the specific cookie cause by deleting it the error doesn't go away. Moreover I think that it wasn't a change previously made in this repository, since last month this worked and no major changes were made
@PitBosch Do you think it might be some newer python module? Maybe the latest Get cookies.txt changes the format (I doubt it)?
I have a WSL2/Ubuntu system where facebook-scraper 0.2.59 is working -
❯ pip3 freeze|grep -i json
demjson==2.2.4
demjson3==3.0.5
fastjsonschema==2.16.1
json5==0.9.10
jsonpatch==1.22
jsonpointer==2.0
jsonschema==3.2.0
simplejson==3.16.0
I have 2 Mac laptops where 0.2.59 doesn't work. I frequently brew update/upgrade - on these, there is only
❯ pip3 freeze|grep -i json
demjson3==3.0.6
Maybe some required modules are missing or are too new on the Mac? I believe I also installed the requirements.txt separately in debugging and it didn't help. I wasn't able to successfully install requirements-dev.txt (some error with yarl). I uninstalled facebook-scraper and reinstalled it without reinstalling requirements.txt separately.
I had the same issue. Try using another extension like edit this cookie, copy the cookies and store them in a JSON file instead.
I had the same issue. Try using another extension like edit this cookie, copy the cookies and store them in a JSON file instead.
This worked for me on my previously broken Macs! I'm wondering why text format cookies are working on my other system and my Macs seem to want JSON cookies?
You need to disable cookie size value on plugin.
I'm trying to run facebook-scraper on a Mac (Monterey) with homebrew installed python3 and pip3 - and pip3 installed facebook-scraper (0.2.59). I'm running into an issue I'm not sure how to resolve. I saved my cookies with the "Get cookies.txt" plugin in Chrome for facebook.com. Both c_user and xs are present. On a first save the domains listed are .facebook.com - later visits also have www.facebook.com entries. I tried with both cookie files and received the same error, in both cases it seems to be complaining about the first cookie, on line 5 - which is the datr cookie for .facebook.com (cookie obfuscated):
Thanks for any help!