Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from imgurpython import ImgurClient ## pip install imgurpython
- from pyautogui import press, typewrite, hotkey ##pip install pyautogui
- from pyperclip import copy ##pip install pyperclip
- import time
- client_id = '384379a6d69f5b9'
- client_secret = '4a018fb3bde0bc2d6c02b2c1c53f97d2ace3c422'
- client = ImgurClient(client_id, client_secret)
- ##
- commandName = input("Command >>>")
- albumURL = input("URL >>>")
- print("Get to your station")
- print("Hit enter to start countdown")
- base=""".acr ">imgay" {
- "color":14961226,
- "image": "supdosfag",
- }"""
- x = input()
- time.sleep(4)
- items = client.get_album_images(albumURL.split("/")[-1])
- for item in items:
- newBase = base.replace("supdosfag",item.link).replace("imgay",commandName)
- copy(newBase)
- hotkey("ctrl","v")
- press("enter")
- time.sleep(0.6)
- print("Done")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement