"""
    instabot filtering private users example

    Workflow:
        Try to follow a private user with the bot and see how it filters that user out.
"""

import os
import sys

sys.path.append(os.path.join(sys.path[0], '../'))
from instabot import Bot


bot = Bot(filter_users=True,
          filter_private_users=True)
bot.login()
private_user_input = input("\n \n Enter a private profile nickname: ")
bot.follow(bot.get_user_id_from_username(private_user_input))

"""
    instabot filtering private users example

    Workflow:
        Try to follow a private user with the bot and see how it 
        filters that user out.
"""

import os
import sys

sys.path.append(os.path.join(sys.path[0], '../'))
from instabot import Bot


bot = Bot(filter_users=True,
          filter_private_users=True)
bot.login()
private_user_input = input("\n \n Enter a private profile nickname: ")
bot.follow(bot.get_user_id_from_username(private_user_input))

Update filter_private_profiles.py