|
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. |
3 | 3 |
|
4 | 4 | <a href="https://github.com/SeleniumHQ/selenium" target="_blank"> |
5 | 5 | <img src="https://img.shields.io/badge/built%20with-Selenium-yellow.svg" /></a> |
6 | 6 | <a href="https://www.python.org/" target="_blank"> |
7 | 7 | <img src="https://img.shields.io/badge/built%20with-Python3-red.svg" /></a> |
8 | 8 |
|
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) |
55 | 18 |
|
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 | + |
0 commit comments