https://grape.mixeder.net/qrapi/output.png?url=YOUR_URL
https://grape.mixeder.net/qrapi/output.png?url=https://mxsl.net/YF3vm580w
curl -o qr_code.png "https://grape.mixeder.net/qrapi/output.png?url=https://mxsl.net/YF3vm580w"
const https = require('https');
const fs = require('fs');
const url = 'https://grape.mixeder.net/qrapi/output.png?url=https://mxsl.net/YF3vm580w';
const file = fs.createWriteStream('qr_code.png');
https.get(url, (response) => {
response.pipe(file);
file.on('finish', () => {
console.log('QRコードが生成されました: qr_code.png');
});
}).on('error', (err) => {
console.error('エラー:', err);
});
import requests
url = "https://grape.mixeder.net/qrapi/output.png?url=https://mxsl.net/YF3vm580w"
response = requests.get(url)
if response.status_code == 200:
with open("qr_code.png", "wb") as f:
f.write(response.content)
print("QRコードが生成されました: qr_code.png")
else:
print("エラー:", response.status_code)