unified view for twitter data

This commit is contained in:
Dima Gerasimov 2020-04-14 22:05:47 +01:00
parent 56b6ab9aaf
commit 30b6918a8d
3 changed files with 63 additions and 24 deletions

17
my/twitter/all.py Normal file
View file

@ -0,0 +1,17 @@
"""
Unified Twitter data (merged from the archive and periodic updates)
"""
from . import twint
from . import archive
def tweets():
yield from archive.tweets()
yield from twint.tweets()
# TODO not sure, likes vs favoites??
def likes():
yield from archive.likes()
# yield from twint