
गैर-API. उपयोगकर्ता नाम, हैशटैग द्वारा पोस्ट (फोटो, लाइक, कमेंट, दिनांक ...) क्रॉल करना
गैर-API। उपयोगकर्ता नाम, हैशटैग द्वारा पोस्ट (फोटो, लाइक, कमेंट, तारीख ...) क्रॉल करें
./driver/chromedriverpip install -r requirements.txtपरिणाम: ./data फ़ोल्डर के अंतर्गत
उपयोगकर्ता नाम "instagram" से पहले 10 फ़ोटो और जानकारी डाउनलोड करें
$ python3 crawl.py -q 'instagram' -n 10
हैशटैग #hello, #hi से पहले 7 फ़ोटो और जानकारी (सभी टिप्पणियाँ) डाउनलोड करें
$ 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
यह एक ओपन सोर्स प्रोजेक्ट है, इसलिए बेझिझक योगदान करें