
Sem API. Crawling de posts (foto, curtidas, comentários, data ...) por username, hashtags
Sem API. Faz crawling de posts (foto, curtidas, comentários, data ...) por username e hashtags
./driver/chromedriverpip install -r requirements.txtResultados: na pasta ./data
Baixar as primeiras 10 fotos e informações do username "instagram"
$ python3 crawl.py -q 'instagram' -n 10
Baixar as primeiras 7 fotos e informações (todos os comentários) das 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
Este é um projeto open source, então sinta-se à vontade para contribuir através de