Skip to content

Commit 667a092

Browse files
authored
Merge pull request #7 from gumdropsteve/develop
v0.1.0
2 parents bfbd1a9 + efb0ad5 commit 667a092

30 files changed

+196
-72526
lines changed

README.md

Lines changed: 16 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,23 @@
1-
# Instagram ([bot.py](https://github.com/gumdropsteve/instagram/blob/master/bot.py))
2-
Object-oriented Selenium (Python) WebDriver class providing deep-insight and task automation for Instagram users.
1+
## Instagram ([bot.py](https://github.com/gumdropsteve/instagram/blob/master/bot.py))
2+
Object-oriented Selenium (Python) WebDriver class providing insight and task automation for Instagram users.
33

44
<a href="https://github.com/SeleniumHQ/selenium" target="_blank">
55
<img src="https://img.shields.io/badge/built%20with-Selenium-yellow.svg" /></a>
66
<a href="https://www.python.org/" target="_blank">
77
<img src="https://img.shields.io/badge/built%20with-Python3-red.svg" /></a>
88

9-
- up to date status: reasonably
10-
11-
#### Abilities:
12-
- Log in to Instagram
13-
- .login()
14-
- Like posts based on hashtag
15-
- .like_posts(hashtag, hrefs)
16-
- Unfollow specific accounts
17-
- unfollow(start, end)
18-
- records the following about each unfollowed account in .csv
19-
- account id
20-
- username
21-
- profile_url
22-
- time_unfollowed
23-
- following_button
24-
- 0 if successful in finding "Following" button
25-
- 1 is unsuccessful in finding "Following" button
26-
- occours when account has either been deleted or has changed its username
27-
- on lookout for possible other causes
28-
- unfollow_button
29-
- 0 if successful in finding "Unfollow" button
30-
- 1 if unsuccessful in finding "Unfollow" button
31-
- occours when following_button returns 1
32-
- on lookout for possible other causes
33-
- must be given list of account urls
34-
#### Future:
35-
- General comments
36-
- Smart comments
37-
- Understanding context
38-
- Follow accounts
39-
- By hashtag
40-
- By other accounts
41-
- Bring back .analyze_following()
42-
- More follower analysis
43-
- Compairson to other accounts
44-
- Identify similar accounts
45-
- Identify specific patterns/behaviors
46-
- Post analysis
47-
- Compairson
48-
- Similar accounts
49-
- Similar posts
50-
- Success tracker
51-
- Early indicators of post success
52-
- Post scraping
53-
- Memes & etc..
54-
- Account/post tracking
9+
#### Primary Abilities:
10+
- Log in to Instagram
11+
- ig.[login()](https://github.com/gumdropsteve/instagram/blob/master/bot.py#L46)
12+
- Gather posts by hashtag
13+
- ig.[gather_posts()](https://github.com/gumdropsteve/instagram/blob/master/bot.py#L62)
14+
- Like posts based on hashtag
15+
- ig.[like_posts()](https://github.com/gumdropsteve/instagram/blob/master/bot.py#L174)
16+
- Comment or add hashtags to a post
17+
- ig.[comment()](https://github.com/gumdropsteve/instagram/blob/master/bot.py#L214)
5518

56-
57-
Collection of data was done via [Helper Tools for Instagram](https://bit.ly/2RarbLj)
19+
#### Example Uses:
20+
- [add_hashtags](https://github.com/gumdropsteve/instagram/blob/master/run.py#L26) to a post as a comment
21+
- Gather posts then [like_by_hashtag](https://github.com/gumdropsteve/instagram/blob/master/run.py#L45) after making sure you haven't already liked them
22+
- [rec_n_check](https://github.com/gumdropsteve/instagram/blob/develop/run.py#L8) an account's followers and following to identify then (optionally) unfollow non-followbackers
23+

THANKSto.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
## Thank You
2+
3+
Thank you to Andrey from the Markets & Data YouTube channel for his [video](https://youtu.be/BGU2X5lrz9M) which laid out the base of this code. Check out the channel [here](https://www.youtube.com/channel/UCtGNWBSiriWivCbuPX4M_Wg).
4+
5+
Early collection of following/followers data was done via Helper Tools for Instagram. See it in the Chrome Web Store [here](https://chrome.google.com/webstore/detail/helper-tools-for-instagra/hcdbfckhdcpepllecbkaaojfgipnpbpb?hl=en-US).

_theories/README.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

_theories/account_data.py

Lines changed: 0 additions & 165 deletions
This file was deleted.

_theories/post_to_ig.py

Lines changed: 0 additions & 105 deletions
This file was deleted.

0 commit comments

Comments
 (0)