Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 7f56653

Browse files
final changes
1 parent 9d63a59 commit 7f56653

File tree

2 files changed

+15
-5
lines changed

2 files changed

+15
-5
lines changed

‎Instagram Follow- NotFollow/README.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
# Instagram Unfollowers Bot
2+
23
## Install Chrome Driver
4+
35
- https://chromedriver.storage.googleapis.com/index.html?path=90.0.4430.24/
4-
- save it in usr/local/bin
56

6-
Install Selenium
7+
Install Selenium
8+
79
- pip3 install selenium
810

9-
OUTPUT :
11+
## OUTPUT :
1012

11-
<img width="883" alt="Screenshot 2021-04-21 at 6 22 12 PM" src="https://user-images.githubusercontent.com/55665104/115557501-63217880-a2cf-11eb-8cea-348ac53a6dd9.png">
13+
<img width="292" alt="Screenshot 2021-04-23 at 3 20 37 PM" src="https://user-images.githubusercontent.com/55665104/115854117-8ff89b80-a447-11eb-9b2b-8dbb765976a4.png">

‎Instagram Follow- NotFollow/main.py

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
from selenium import webdriver
22
from time import sleep
33
import datetime
4+
from prettytable import PrettyTable
45

56
start = datetime.datetime.now()
67

78

9+
table = PrettyTable()
10+
column_names = ["Non-Followers"]
11+
12+
813
class InstaBot:
914
""" for login
1015
"""
@@ -50,7 +55,10 @@ def get_unfollowers(self):
5055

5156
notfollowingback = [
5257
user for user in following if user not in followers]
53-
print(notfollowingback)
58+
59+
table.add_column(column_names[0], notfollowingback)
60+
61+
print(table)
5462

5563
def _get_names(self):
5664
""" names of unfollowers

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /