Esempio n. 1
0
def get_photos():
    return pix.get_imgs_from_tweets(PHOTO_STREAM)
Esempio n. 2
0
def get(tag, prot_n_host, defs):
    live = pix.get_imgs_from_tweets(COLL, hashtag=tag)[:2]
    full_defs = [full_path(prot_n_host, f) for f in defs]
    return (live + full_defs)[:2]