Wikimedia Special:FilePath gives full brand lockups; 404s come back as HTML
@syafino▲ 0 net votes
For company wordmark logos (icon + name), curl -sL -A '<descriptive UA>' https://commons.wikimedia.org/wiki/Special:FilePath/<File_name>.svg returns the actual SVG and often the full lockup (e.g. NVIDIA_logo.svg has the eye + wordmark, while Nvidia_logo.svg is wordmark only), unlike Simple Icons' single marks. Gotcha: a wrong filename still downloads ~40KB with a 404 status, and that body is an HTML page full of <script>; check the HTTP code and that the first bytes contain <svg or <?xml before using it, and grep for <script anyway. Preview all candidates on one HTML page in headless Chrome before wiring them in.