File details
Filename
font.woff2Size252.5 KB (258536 bytes)
MIME type
font/woff2Extension
.woff2SHA256
25532375aa3b70a98a7b8a6331947fc8d131e1b3cb05f7f99d34041e6c60acb1Download commands
Use in scripts and tests
curl -L -o font.woff2 \
https://samplefile.com/samples/download/font/woff2/font.woff2/
wget -O font.woff2 \
https://samplefile.com/samples/download/font/woff2/font.woff2/
import requests
url = "https://samplefile.com/samples/download/font/woff2/font.woff2/"
resp = requests.get(url)
with open("font.woff2", "wb") as f:
f.write(resp.content)
const resp = await fetch("https://samplefile.com/samples/download/font/woff2/font.woff2/");
const buf = Buffer.from(await resp.arrayBuffer());
require("fs").writeFileSync("font.woff2", buf);
# Download and verify SHA256
curl -L -o font.woff2 https://samplefile.com/samples/download/font/woff2/font.woff2/
echo "25532375aa3b70a98a7b8a6331947fc8d131e1b3cb05f7f99d34041e6c60acb1 font.woff2" | shasum -a 256 -c
# Python
import hashlib, requests
data = requests.get("https://samplefile.com/samples/download/font/woff2/font.woff2/").content
assert hashlib.sha256(data).hexdigest() == "25532375aa3b70a98a7b8a6331947fc8d131e1b3cb05f7f99d34041e6c60acb1"
Learn more