A simple scraper for Twitter (requires Python >= 3.6)

theenglishway (time) 8d7ffbee9d Update README with some basic instructions 7 năm trước cách đây
.github 4935b1edbf Initial commit 7 năm trước cách đây
docs 4935b1edbf Initial commit 7 năm trước cách đây
tests 2d5db0e897 Some renaming 7 năm trước cách đây
twhatter 7c4f441828 Add loop break in Client for profile 7 năm trước cách đây
.editorconfig 4935b1edbf Initial commit 7 năm trước cách đây
.gitignore 4935b1edbf Initial commit 7 năm trước cách đây
.travis.yml 4935b1edbf Initial commit 7 năm trước cách đây
AUTHORS.rst 4935b1edbf Initial commit 7 năm trước cách đây
CONTRIBUTING.rst 4935b1edbf Initial commit 7 năm trước cách đây
HISTORY.rst 4935b1edbf Initial commit 7 năm trước cách đây
LICENSE 4935b1edbf Initial commit 7 năm trước cách đây
MANIFEST.in 4935b1edbf Initial commit 7 năm trước cách đây
Makefile 4935b1edbf Initial commit 7 năm trước cách đây
Pipfile 18ddad72c5 Add basic database recording 7 năm trước cách đây
Pipfile.lock 4935b1edbf Initial commit 7 năm trước cách đây
README.rst 8d7ffbee9d Update README with some basic instructions 7 năm trước cách đây
setup.cfg 8b53716bef Add CLI and parser tests 7 năm trước cách đây
setup.py 4935b1edbf Initial commit 7 năm trước cách đây
tox.ini 4935b1edbf Initial commit 7 năm trước cách đây

README.rst

========
Twhatter
========


A simple scraper for Twitter

Installation
------------

..highlight: shell

$ pip install -e git+https://code.theenglishway.eu/theenglishway-corp/twhatter

Use
---

Display some user's tweets

..highlight: shell

$ twhatter timeline realDonaldTrump --limit 10











Put them into a local database (by default in /tmp/db.sqlite)

..highlight: shell

$ twhatter db timeline realDonaldTrump

Open a session on the local database and make queries with SQLAlchemy

..highlight: shell

$ twhatter db shell

..highlight: python

In [1]: session.query(Tweet).all()
Out[1]:
[