takeout module; make more resilient to multipart

This commit is contained in:
Dima Gerasimov 2020-01-27 22:35:45 +00:00
parent 232d62b3b7
commit 56f64c16db
3 changed files with 45 additions and 17 deletions

11
tests/youtube.py Normal file
View file

@ -0,0 +1,11 @@
# TODO move elsewhere?
# these tests would only make sense with some existing data? although some of them would work for everyone..
# not sure what's a good way of handling this..
from my.media.youtube import get_watched
def test():
watched = get_watched()
assert len(watched) > 1000