Training a neural network to generate Instagram captions for photos using a biggg set of scraped Instagram data
https://towardsdatascience.com/do-it-for-the-gram-instagram-style-caption-generator-4e7044766e34
Quickly crawl the information (e.g. followers, tags etc...) of an instagram profile. Automation Script for crawling information from ones instagram profile.
Like e.g. the number of posts, followers, and the tags of the the posts
Just do:
git clone https://github.com/timgrossmann/instagram-profilecrawl.git
It uses selenium and requests to get all the information so install them with:
pip install -r requirements.txt
Install the proper chromedriver
for your operating system. Once you download it just drag and drop it into instagram-profilecrawl/assets
directory.
type this command in Terminal:
python3 crawl_profile.py username1 username2 ... usernameX
In util/settings.py
, we made the following changes:
- change variable
limit_amount
to 100 - change variable
sleep_time_between_post_scroll
to 3 or 4 depending on wifi strength - change variable
sleep_time_between_comment_loading
to 0.5 if you do not need comment data, 3 if you do
If you want to scrape private users (profiles) whom you follow:
- Open Settings.py
- Search for
login_username
&login_password
- Put your information inside the quotation marks
Second option: just the settings to your script
Settings.login_username = 'my_insta_account'
Settings.login_password = 'my_password_xxx'
If you need more information about how to work the profile crawler, please visit the OG GitHub Repo (https://github.com/timgrossmann/instagram-profilecrawl)
selenium
netwulf
networkx
emoji
pyenchant
keras
tensorflow
PIL