mirror of
https://github.com/assenzostefano/epic-games-notifier-telegram.git
synced 2025-02-16 11:21:43 +01:00
Change URL for events/check_game.py
This commit is contained in:
parent
f1bf4a5d9a
commit
63d2352b46
@ -11,7 +11,7 @@ def recheck_game(collection_game, collection_id, bot):
|
|||||||
def a(collection_game, collection_id, bot):
|
def a(collection_game, collection_id, bot):
|
||||||
try:
|
try:
|
||||||
#Connect to API
|
#Connect to API
|
||||||
url = "https://minty.apexie.eu/v1/epicfreegames" #URL API
|
url = "https://minty.apexie.dev/v1/epicfreegames" #URL API
|
||||||
response = requests.get(url).json() #API in JSON
|
response = requests.get(url).json() #API in JSON
|
||||||
|
|
||||||
# Title of current games
|
# Title of current games
|
||||||
@ -55,4 +55,4 @@ def a(collection_game, collection_id, bot):
|
|||||||
recheck_game(collection_game, collection_id, bot)
|
recheck_game(collection_game, collection_id, bot)
|
||||||
except:
|
except:
|
||||||
print("An error occurred")
|
print("An error occurred")
|
||||||
recheck_game(collection_game, collection_id, bot)
|
recheck_game(collection_game, collection_id, bot)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user