JustAnotherArchivist / snscrape

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

--jsonl report unrecognized arguments #101

Closed SSSIBIR closed 4 years ago

SSSIBIR commented 4 years ago

it seems like when i use !snscrape --jsonl twitter-search "from:barackobama since:2015-09-10 until:2015-09-12" > baracktweets.txt in jupyter notebook ,it reporte an error: snscrape: error: unrecognized arguments: --jsonl. where am i doing wrong? thanks.

slbauman commented 4 years ago

You need to install the development version from pip3 and it will work.

pip3 install git+https://github.com/JustAnotherArchivist/snscrape.git

edsu commented 4 years ago

Seeing these over and over makes me think maybe now would be a good time for a new pypi release?

JustAnotherArchivist commented 4 years ago

Duplicate of #77

@edsu There are a few things I still want to implement and fix before the next release. People just need to learn to search for issues before opening a new one.

edsu commented 4 years ago

I tbink a lot of people rely on the GitHub README for documentation. In the future it would probably be good to develop on a branch. But I guess you probably didn't anticipate the heightened attention after twint stopped working!

JustAnotherArchivist commented 4 years ago

Indeed I didn't, and thanks for the explanation where all these people came from. :-)

I consider the master branch the development version. Releases are using tags, and naturally the README will be accurate for those: https://github.com/JustAnotherArchivist/snscrape/blob/v0.3.4/README.md But yeah, the situation is not ideal. I've been wanting to write a proper documentation for a long time but never got around to it. I suppose a description on PyPI would also help.

SSSIBIR commented 4 years ago

You need to install the development version from pip3 and it will work.

pip3 install git+https://github.com/JustAnotherArchivist/snscrape.git

thanks

SSSIBIR commented 4 years ago

Indeed I didn't, and thanks for the explanation where all these people came from. :-)

I consider the master branch the development version. Releases are using tags, and naturally the README will be accurate for those: https://github.com/JustAnotherArchivist/snscrape/blob/v0.3.4/README.md But yeah, the situation is not ideal. I've been wanting to write a proper documentation for a long time but never got around to it. I suppose a description on PyPI would also help.

sorry for bothering, i did miss the closed issues, i`ll look them first next time.