waiting...
(Invoke-WebRequest -Uri https://check.fastdl.me/nsjson -Body (Get-Childitem -file *.bsp | select length, name | ConvertTo-Json) -Method POST -UseBasicParsing).Content
stat -c "%s %n" *.bsp | curl --data-binary @- https://check.fastdl.me/nsplain
import glob, urllib.request, os
print(urllib.request.urlopen(urllib.request.Request(
"https://check.fastdl.me/nsplain",
data='\n'.join([str(os.path.getsize(f)) + " " + f for f in glob.glob("*.bsp")]).encode(),
headers={"User-Agent": "check.py"}
)).read().decode("utf-8"))import glob, urllib.request, os, csv
with urllib.request.urlopen("https://main.fastdl.me/maps_index.html.csv") as response:
csvlines = response.read().decode("utf-8").splitlines()[1:]
lookup = {}
for row in csv.reader(csvlines):
lookup[row[0]] = int(row[2])
for filename in glob.glob("*.bsp"):
x = filename[:-4].lower()
if x not in lookup:
print(f"{filename} is not on main.fastdl.me/maps/")
elif os.path.getsize(filename) != lookup[x]:
print(f"different map size for {filename}")
curl -X POST -d "http://<URL_THAT_HAS_MAPS_HERE>/maps/" https://check.fastdl.me/index_checker