JustAnotherArchivist / snscrape

A social networking service scraper in Python
GNU General Public License v3.0
4.33k stars 699 forks source link

snscrape: error: unrecognized arguments: --jsonl #77

Closed rodolfopardo closed 3 years ago

rodolfopardo commented 3 years ago

This is my shell command? Can i help me?

snscrape --jsonl twitter-user rodipardo_

Result:

snscrape: error: unrecognized arguments: --jsonl

WhiteLin3s commented 3 years ago

Hey,

guess you installed it from repository using pip. The "--jsonl"" flag seems to be present only in the newer version that is available on github. So either run

pip3 install --upgrade git+https://github.com/JustAnotherArchivist/snscrape@master

or

pip install --upgrade git+https://github.com/JustAnotherArchivist/snscrape@master

to get the newest version. Then your command should work as desired.

rodolfopardo commented 3 years ago

Thanks so much! , but now i have other issue

snscrape --jsonl twitter-user rodipardo_

Result:

module 'functools' has no attribute 'cached_property'

WhiteLin3s commented 3 years ago

Hmm probably has sth. to do with your Python Version. The command as you specified it works with my setup using "Python 3.7.6". Probably try upgrading Python to the newest version beforehand.

JustAnotherArchivist commented 3 years ago

The newest version of snscrape requires Python 3.8, as listed in setup.py.