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 #93

Closed Nicknameinmel closed 3 years ago

Nicknameinmel commented 3 years ago

Could you tell me why the --jsonl can not be recongized? Many thanks

My code: !snscrape --jsonl --since 2020-4-2 twitter-search '$sbux' > ./jsonl.txt

Error usage: snscrape [-h] [--version] [-v] [--dump-locals] [--retry N] [-n N] [-f FORMAT] [--since DATETIME] {googleplus-user,telegram-channel,vkontakte-user,facebook-user,facebook-group,gab-user,gab-user-comments,gab-user-media,instagram-user,instagram-hashtag,instagram-location,twitter-search,twitter-thread,twitter-list-members,twitter-user,twitter-hashtag,twitter-list-posts} ... snscrape: error: unrecognized arguments: --jsonl

ylizama commented 3 years ago

I am having the same issue here. Is there any other option?

MartinoMensio commented 3 years ago

Hi, I had the same issue and, looking at the version history, it looks like the support for JSONL was added on 12th August (https://github.com/JustAnotherArchivist/snscrape/commit/bf229414babbf37fffb7e1144182b6f01844be69), while the latest version on PyPI (0.3.4) is from 9th July. So the solution is to install the development version with pip3 install git+https://github.com/JustAnotherArchivist/snscrape.git

Martino

Nicknameinmel commented 3 years ago

Hi, I had the same issue and, looking at the version history, it looks like the support for JSONL was added on 12th August (bf22941), while the latest version on PyPI (0.3.4) is from 9th July. So the solution is to install the development version with pip3 install git+https://github.com/JustAnotherArchivist/snscrape.git

Martino

Thank you! it works!

JustAnotherArchivist commented 3 years ago

Duplicate of #77