InstaPy / InstaPy

📷 Instagram Bot - Tool for automated Instagram interactions
GNU General Public License v3.0
16.73k stars 3.77k forks source link

[Feature] Get hashtags and target user from a txt.file #5308

Closed Abdulsamipy closed 4 years ago

Abdulsamipy commented 4 years ago

Expected Behavior

get hashtags and target users from a .txt from

Current Behavior

have to edit users inside the script

Possible Solution (optional)

InstaPy configuration

`

general settings

session.set_relationship_bounds(enabled=True,
             potency_ratio=None,
              delimit_by_numbers=True,
               max_followers=2000000,
                max_following=10000,
                 min_followers=10,
                  min_following=10)
session.set_user_interact(amount=2, randomize=True, percentage=100,
media='Photo')
session.set_do_follow(enabled=True, percentage=100)
time.sleep(30)
session.set_do_like(enabled=True, percentage=100)
session.set_comments(["Your work is rockin @{}", "Well done @{} :muscle:", "Your posts are excellent :thumbsup: ", "What a really nice photo, great job! @{}"])
session.set_do_comment(enabled=True, percentage=100)
session.set_user_interact(amount=2, randomize=True, percentage=100,
media='Photo')

# activity

session.interact_user_followers(['pewdiepie'],
amount=10, randomize=True)
session.unfollow_users(amount=100, nonFollowers=True, style="RANDOM",
unfollow_after=42*60*60, sleep_delay=30)
session.like_by_tags(['fashion', 'style', 'consciousfashion', 'fashioneveryday', 'lookoftheday', 'womensfashionfinds', 'fashiontech', 'whatiwore'], amount=10)
time.sleep(20)

""" Joining Engagement Pods...
"""
photo_comments = ['I like how you put your posts together @{}',
    'Your work is rockin @{}',
    'Your posts are excellent :thumbsup:',
    'Amazing work. Keep going! :open_mouth:',
    'What a really nice photo, great job! @{}?',
    'Love your posts @{}',
    'Looks awesome @{}',
    'Getting inspired by you @{}',
    ':raised_hands: Yes!',
    'Well done @{} :muscle:']
session.set_do_comment(enabled = True, percentage = 100)
session.set_comments(photo_comments, media = 'Photo')
session.join_pods(topic='food')

`
stale[bot] commented 4 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

If this problem still occurs, please open a new issue