![]() |
URL or API to check for current version of patch files?
I would like to automate version checks and updates. Does Project 1999 provide a way to query the latest version?
|
There's no API, but there's https://www.project1999.com/ ... new patches are always posted as news items on the front page
|
Thanks for the answer. Scraping a website for a link is far from ideal. I'll have to think of a solution. My suggestion for the website would be to simply have a file that can be downloaded that contain the version or filename of the latest release of the patch files. Just a file containing a string.
|
... or you could just wait until you try to login and it tells you to patch (like everyone else) :)
|
But why? It would be trivial to implement. I'm trying to create a launcher for linux that make it as easy as possible but for that, I need to automate the update process. Part of that process is converting everything to lower case to make sure files are all correctly overwritten. And yes I've had issues with that which is why I'm doing this.
|
Quote:
Code:
from selenium import webdriver |
You ChatGPTed that didn't you ;)
|
that? no, i use scrapers on the daily so i just Frankensteined some of my other code.
|
Quote:
Quote:
|
I wouldn't put it past my former self to have used chatgpt originally, the websites I frequent are often slow to respond so I had to include a lot of wait timers and try/catches so the code wouldn't crap itself.
|
| All times are GMT -4. The time now is 07:50 PM. |
Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.