
Sans API. Crawling des publications (photo, likes, commentaires, date ...) par nom d'utilisateur, hashtags
Non API. Récupération de publications (photo, likes, commentaires, date ...) par nom d'utilisateur, hashtags
./driver/chromedriverpip install -r requirements.txtRésultats : dans le dossier ./data
Téléchargez les 10 premières photos et informations du nom d'utilisateur "instagram"
$ python3 crawl.py -q 'instagram' -n 10
Téléchargez les 7 premières photos et informations (tous les commentaires) des hashtags #hello, #hi
$ python3 crawl.py -q '#hello, #hi' --a -n 7
likes:
5,326
comments:
923
caption:
Art of @kendricklamar by @illestration Bold, bright and colorful.
commentMessages:
tttt: Amazing 😉
this_is_t.rs: my name says it all
dateTime:
2018-05-30T19:42:03.000Z
Usage:
crawl.py [-q QUERY] [-n NUMBER] [--a] [-h HELP]
Options:
-q QUERY username, add '#' to search for hashtags, e.g. 'username' or '#hashtag'
For multiple query seperate with comma, e.g. 'username1, username2, #hashtag'
-n NUM number of returned posts [default: 10000]
--a collect all comments
-h HELP show this help message and exit
Ceci est un projet open source, n'hésitez donc pas à contribuer en :