# Download SVG image
curl https://tcpdata.com/image/svg -o image.svg
fetch('https://tcpdata.com/image/svg')
.then(res => res.text())
.then(svg => {
const div = document.createElement('div');
div.innerHTML = svg;
document.body.appendChild(div);
});
import requests
response = requests.get('https://tcpdata.com/image/svg')
with open('image.svg', 'w') as f:
f.write(response.text)