From 032d3438f1a33f471750d7cd050b497ef0a89f21 Mon Sep 17 00:00:00 2001 From: Cong Date: Sat, 27 Jul 2024 16:46:39 +1000 Subject: [PATCH] Update some links #2216 --- games/l.yaml | 33 ++++++++++++++++++++------------- games/y.yaml | 22 +++++++++++++--------- scripts/check_links.py | 18 +++++++----------- 3 files changed, 40 insertions(+), 33 deletions(-) diff --git a/games/l.yaml b/games/l.yaml index 754ea0985..0dc2edd38 100644 --- a/games/l.yaml +++ b/games/l.yaml @@ -71,8 +71,9 @@ - Ladder status: playable type: remake + added: 2015-05-09 updated: 2015-05-10 - url: http://ostermiller.org/ladder/ + url: https://ostermiller.org/ladder/ development: halted - name: ladder @@ -86,8 +87,9 @@ originals: - Ladder status: semi-playable - repo: https://github.com/SmallRoomLabs/ladder + repo: https://github.com/mengstr/ladder type: remake + added: 2016-02-26 updated: 2016-02-26 - name: Laser Kombat @@ -146,7 +148,7 @@ originals: - Little Big Adventure type: remake - repo: https://github.com/2point21/lba1-classic-community + repo: https://github.com/LBALab/lba1-classic-community development: sporadic status: unplayable langs: @@ -157,13 +159,14 @@ info: >- Official source code of the original game's engine (not a remake). This is the community-enhanced version of the repository. + added: 2021-10-29 updated: 2023-08-08 - name: LBA2 Classic (Community) originals: - Little Big Adventure 2 type: remake - repo: https://github.com/2point21/lba2-classic-community + repo: https://github.com/LBALab/lba2-classic-community development: halted status: unplayable langs: @@ -174,13 +177,14 @@ info: >- Official source code of the original game's engine (not a remake). This is the community-enhanced version of the repository. + added: 2021-10-29 updated: 2023-08-08 - name: LBA2 Remake originals: - Little Big Adventure 2 type: remake - repo: 'https://github.com/agrande/lba2remake' + repo: https://github.com/LBALab/lba2remake development: very active status: semi-playable content: commercial @@ -191,6 +195,7 @@ - React licenses: - MIT + added: 2020-11-24 updated: 2020-11-24 images: - >- @@ -218,11 +223,12 @@ full of different types of bricks and extras by using your paddle to aim balls at the bricks. All LBreakout2 themes and levelsets work. New themes can be of any resolution. + added: 2019-12-02 updated: 2023-01-28 images: - https://lgames.sourceforge.io/LBreakoutHD/ss0.jpg - - 'https://lgames.sourceforge.net/LBreakoutHD/ss1.jpg' - - 'https://lgames.sourceforge.net/LBreakoutHD/ss2.jpg' + - https://lgames.sourceforge.io/LBreakoutHD/ss1.jpg + - https://lgames.sourceforge.io/LBreakoutHD/ss2.jpg - name: 'Legacy of Kain: Soul Reaver Decompile' originals: @@ -270,9 +276,7 @@ - 'The Legend of Zelda: Ocarina of Time' type: remake repo: 'https://github.com/zeldaret/oot' - url: 'https://zelda64.dev/' - images: - - https://thenerdstash.com/wp-content/uploads/2021/11/Legend-of-Zelda-Ocarina-of-Time-Decompile.jpg + url: https://zelda64.dev/games/oot development: active status: unplayable licenses: @@ -280,7 +284,8 @@ content: commercial langs: - C - updated: '2021-12-12' + added: 2021-12-12 + updated: 2021-12-12 - name: The Legend Of Zelda - Oni Link Begins langs: @@ -448,8 +453,9 @@ repo: https://sourceforge.net/projects/lgeneral/ status: playable type: remake + added: 2013-05-30 updated: 2023-01-28 - url: https://lgames.sourceforge.net/LGeneral/ + url: https://lgames.sourceforge.io/LGeneral/ - name: LibDay originals: @@ -466,9 +472,10 @@ - Unity licenses: - MIT + added: 2019-07-08 updated: 2020-08-25 images: - - https://gamesnippets.files.wordpress.com/2017/04/11.png + - https://gamesnippets.wordpress.com/wp-content/uploads/2017/04/11.png - name: libRealSpace images: diff --git a/games/y.yaml b/games/y.yaml index 9d5da53e0..370e050c8 100644 --- a/games/y.yaml +++ b/games/y.yaml @@ -21,21 +21,24 @@ - name: YARG (Yet Another Rhythm Game) images: - - https://github.com/YARC-Official/YARG/blob/master/Images/Image.png?raw=true + - https://media.githubusercontent.com/media/YARC-Official/YARG/master/Images/Banner.png langs: - C# frameworks: - Unity licenses: - - Custom + - LGPL3 development: active originals: - Guitar Hero repo: https://github.com/YARC-Official/YARG status: playable type: similar - updated: 2023-12-25 + added: 2023-12-25 + updated: 2024-07-27 url: https://yarg.in/ + video: + youtube: 8IZ_f-BtcLk - name: YKnytt type: remake @@ -88,11 +91,11 @@ - name: YSoccer images: - - https://ysoccer.sourceforge.net/images/screenshot_goal.jpg - - https://ysoccer.sourceforge.net/images/screenshot_rain.jpg - - https://ysoccer.sourceforge.net/images/screenshot_tactics.jpg - - https://ysoccer.sourceforge.net/images/screenshot_set_team.png - - https://ysoccer.sourceforge.net/images/screenshot_team_editor.jpg + - https://ysoccer.sourceforge.io/images/screenshot_goal.jpg + - https://ysoccer.sourceforge.io/images/screenshot_rain.jpg + - https://ysoccer.sourceforge.io/images/screenshot_tactics.jpg + - https://ysoccer.sourceforge.io/images/screenshot_set_team.png + - https://ysoccer.sourceforge.io/images/screenshot_team_editor.jpg langs: - BlitzBasic licenses: @@ -104,7 +107,8 @@ repo: https://sourceforge.net/projects/ysoccer/ status: playable type: remake + added: 2015-04-03 updated: 2019-12-12 - url: https://ysoccer.sourceforge.net/ + url: https://ysoccer.sourceforge.io video: vimeo: 360152627 diff --git a/scripts/check_links.py b/scripts/check_links.py index b7b19087d..22a497c0d 100644 --- a/scripts/check_links.py +++ b/scripts/check_links.py @@ -1,23 +1,19 @@ """ Check game URLs and repos for broken links - -To run, install from pip: -- aiohttp """ -import aiohttp import asyncio +import httpx from scripts.utils import games async def check_link(q): - async with aiohttp.ClientSession() as session: - while True: - game, url = await q.get() - async with session.get(url) as resp: - if not resp.ok: - print(f"{url} returned {resp.status} ({game['name']})") - q.task_done() + while True: + game, url = await q.get() + resp = httpx.get(url) + if not resp.is_success: + print(f"{url} returned {resp.status_code} ({game['name']})") + q.task_done() async def main():