📸 Booya!❇️❇️❇️☀️☀️☀️

in test •  5 years ago  (edited)

I got it!

I'd been working on this pesky little bracket for two nights now working on my 2nd random image. Everyone complained that I only posted single pic posts, so here are more sire! Also may add arsnfdom quote thingy sometime, i heard they like words! lol ! This stuff is trick, I swear! Next thing to do is look at unique images and a lotta link swapping? lol here's my code for backup justin case all else fails and Need to retrieve it.:

#!/usr/local/bin/python3
from beem.imageuploader import ImageUploader
from beem import Steem
import random, os
import schedule
import time

def job():
if name == "main":
stm = Steem()
author = "coininstant"
path = "/Users/nick/steemit-images-coininstant-4blog"
random_filename = random.choice([
x for x in os.listdir(path)
if os.path.isfile(os.path.join(path, x))
])
random_filename3 = random.choice([
x for x in os.listdir(path)
if os.path.isfile(os.path.join(path, x))
])
image_path = random_filename
image_uploader = ImageUploader(steem_instance=stm)
image_path3 = random_filename3
img_link = image_uploader.upload(image_path, author, image_name="@coininstant:)")
img_link2 = image_uploader.upload(image_path, author, image_name="@coininstant)")
img_link3 = image_uploader.upload(image_path3, author, image_name="@coininstant3:)")
img_link4 = image_uploader.upload(image_path3, author, image_name="@coininstant4)")
body_text = "
Checking out the sunset, just about caught the green flash tonight!
#maui-sunset #hi #steemit!"
break_space = "\n"
footer_image = ""
follow_footer = "Follow @coininstant for more!"

    title = " Just testing!❇️❇️❇️☀️☀️☀️"

    body = "Testing 123!!. "\
           "(-‿◦☀)!![x]("\
           "%s" % img_link["url"]+"%s" % "[view]"+ "("+ img_link2["url"]+"![x]("+ img_link3["url"]+"%s" % "[view]"+ "("+ img_link4["url"]+ body_text + break_space + "# "+ footer_image + follow_footer
    parse_body = True
    self_vote = False
    tags = ["test"]
    stm.post(title, body, author=author, tags=tags, parse_body=parse_body, self_vote=self_vote)

schedule.every(1).minutes.do(job)
while True:
schedule.run_pending()
time.sleep(1)


Testing 123!!. (-‿◦☀)!xviewxview
Checking out the sunset, just about caught the green flash tonight!
#maui-sunset #hi #steemit!

Follow @coininstant for more!

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!