Update file links in readme.md to include absolute paths and adjust generation timestamp

This commit is contained in:
ZareMate 2025-01-24 23:04:48 +01:00
parent c42052d127
commit 9ba529977d
Signed by: zaremate
GPG Key ID: 369A0E45E03A81C3
2 changed files with 15 additions and 14 deletions

View File

@ -3,6 +3,7 @@ from datetime import datetime
from collections import defaultdict
import re
absolute_path = 'https://gitea.suchodupin.com/Discord/torrents/raw/branch/main/'
def process_build_version(name):
"""Put Build/v and everything after them in brackets and make game name bold"""
@ -84,7 +85,7 @@ def get_file_listing():
total_files += len(files)
f.write(f'### {sub_cat} ({len(files)})\n')
for filename, rel_path in sorted(files):
f.write(f'- [{filename}]({rel_path})\n')
f.write(f'- [{filename}]({absolute_path}{rel_path})\n')
f.write('\n')
f.write(f'<br><br>\n\n## Info\n- **Generated: {datetime.now().strftime("%Y-%m-%d %H:%M")}**\n')

View File

@ -1,23 +1,23 @@
# File Listing
## Games (12)
### PC (5)
- [**Dale and Dawson Stationery Supplies** [v1.0.13]](Games/PC/Dale.and.Dawson.Stationery.Supplies.v1.0.13-OFME.torrent)
- [**Green Hell** [v2.7.2]](Games/PC/Green.Hell.v2.7.2-OFME.torrent)
- [**Nuclear Nightmare** [Build.28102024]](Games/PC/Nuclear.Nightmare.Build.28102024-OFME.torrent)
- [**Sons Of The Forest** [Build.20062024]](Games/PC/Sons.Of.The.Forest.Build.20062024-OFME.torrent)
- [**Stationeers** [v0.2.4677.21598]](Games/PC/Stationeers.v0.2.4677.21598-OFME.torrent)
- [**Dale and Dawson Stationery Supplies** [v1.0.13]](https://gitea.suchodupin.com/Discord/torrents/raw/branch/main/Games/PC/Dale.and.Dawson.Stationery.Supplies.v1.0.13-OFME.torrent)
- [**Green Hell** [v2.7.2]](https://gitea.suchodupin.com/Discord/torrents/raw/branch/main/Games/PC/Green.Hell.v2.7.2-OFME.torrent)
- [**Nuclear Nightmare** [Build.28102024]](https://gitea.suchodupin.com/Discord/torrents/raw/branch/main/Games/PC/Nuclear.Nightmare.Build.28102024-OFME.torrent)
- [**Sons Of The Forest** [Build.20062024]](https://gitea.suchodupin.com/Discord/torrents/raw/branch/main/Games/PC/Sons.Of.The.Forest.Build.20062024-OFME.torrent)
- [**Stationeers** [v0.2.4677.21598]](https://gitea.suchodupin.com/Discord/torrents/raw/branch/main/Games/PC/Stationeers.v0.2.4677.21598-OFME.torrent)
### PCVR (7)
- [**Among Us VR** [Build.14102022]](Games/PCVR/Among.Us.VR.Build.14102022-OFME.torrent)
- [**BONEWORKS** [v1.6]](Games/PCVR/BONEWORKS.v1.6.torrent)
- [**Bullet Roulette VR** [Build.10092020]](Games/PCVR/Bullet.Roulette.VR.Build.10092020-OFME.torrent)
- [**Crossfire Sierra Squad** [v53476]](Games/PCVR/Crossfire.Sierra.Squad.v53476-OFME.torrent)
- [**Deisim**](Games/PCVR/Deisim.torrent)
- [**Real VR Fishing** [v2.560]](Games/PCVR/Real.VR.Fishing.v2.560-OFME.torrent)
- [**VTOL VR** [Build.29122023]](Games/PCVR/VTOL.VR.Build.29122023-OFME.torrent)
- [**Among Us VR** [Build.14102022]](https://gitea.suchodupin.com/Discord/torrents/raw/branch/main/Games/PCVR/Among.Us.VR.Build.14102022-OFME.torrent)
- [**BONEWORKS** [v1.6]](https://gitea.suchodupin.com/Discord/torrents/raw/branch/main/Games/PCVR/BONEWORKS.v1.6.torrent)
- [**Bullet Roulette VR** [Build.10092020]](https://gitea.suchodupin.com/Discord/torrents/raw/branch/main/Games/PCVR/Bullet.Roulette.VR.Build.10092020-OFME.torrent)
- [**Crossfire Sierra Squad** [v53476]](https://gitea.suchodupin.com/Discord/torrents/raw/branch/main/Games/PCVR/Crossfire.Sierra.Squad.v53476-OFME.torrent)
- [**Deisim**](https://gitea.suchodupin.com/Discord/torrents/raw/branch/main/Games/PCVR/Deisim.torrent)
- [**Real VR Fishing** [v2.560]](https://gitea.suchodupin.com/Discord/torrents/raw/branch/main/Games/PCVR/Real.VR.Fishing.v2.560-OFME.torrent)
- [**VTOL VR** [Build.29122023]](https://gitea.suchodupin.com/Discord/torrents/raw/branch/main/Games/PCVR/VTOL.VR.Build.29122023-OFME.torrent)
<br><br>
## Info
- **Generated: 2025-01-24 23:00**
- **Generated: 2025-01-24 23:04**
- **Total Files: 12**