Change content.minetest.net to content.luanti.org

This commit is contained in:
rubenwardy
2024-10-29 22:53:28 +00:00
parent a5ac4f38cf
commit dd2e73b40f
15 changed files with 41 additions and 41 deletions

View File

@@ -111,7 +111,7 @@ def clear_removed_packages(all_packages: bool):
def _url_exists(url: str) -> str:
try:
headers = {
"User-Agent": "Mozilla/5.0 (compatible; ContentDB link checker; +https://content.minetest.net/)",
"User-Agent": "Mozilla/5.0 (compatible; ContentDB link checker; +https://content.luanti.org/)",
}
with requests.get(url, stream=True, headers=headers, timeout=10) as response:
response.raise_for_status()