dl/commands/psx.py
Michel Roux 67574de65a
All checks were successful
continuous-integration/drone/push Build is passing
Add psx.py
2022-08-15 19:50:11 +02:00

12 lines
319 B
Python

import requests
import json
file = requests.get("https://raw.githubusercontent.com/linuxserver/emulatorjs/master/metadata/psx.json")
games = json.loads(file.content)
for id in games:
for key in games[id]:
if key in ['vid', 'logo', 'back', 'corner']:
print(games[id]['name'])
break