Update pony.py

This commit is contained in:
DarkShy
2024-01-08 09:38:43 +03:00
committed by GitHub
parent 7948948631
commit b9a8ef8761

View File

@@ -5,7 +5,7 @@ import random
app = Flask(__name__) app = Flask(__name__)
# Пишем свой API-key из https://derpibooru.org/registrations/edit # Пишем свой API-key из https://derpibooru.org/registrations/edit
api_key = "nYTuAw8EHfHyfL6TgXPk" api_key = "ваш_код"
# Ищем картинки на derpi # Ищем картинки на derpi
def get_random_batpony_image(): def get_random_batpony_image():
@@ -30,4 +30,4 @@ def index():
tags=random_batpony_image["tags"]) tags=random_batpony_image["tags"])
if __name__ == "__main__": if __name__ == "__main__":
app.run(debug=True) app.run(debug=True)