Skip to content

Caption has suddenly stopped working #31

@v3lip

Description

@v3lip

Captions worked for my first pics, but now it has suddenly stopped working for some reason. I made a new Python-script to test this, and it doesn't work here either. The image gets uploaded, but there's no caption. Here's the code:

from instabot import Bot
from PIL import Image
import random, os, time, json

data = json.loads(open('config.json').read())
bot = Bot()
bot.login(  username = data['username'],
            password = data['password'])


print(' >>> Starting Bot..')

image = random.choice(os.listdir('rips/reddit_sub_memes/'))
bot.upload_photo('rips/reddit_sub_memes/' + image, 
                              caption="Test Caption")

- Kind regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions