如何从网页中提取svg作为文件 [英] How to extract svg as file from web page

查看:245
本文介绍了如何从网页中提取svg作为文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从此页面将SVG保存为文件 https://www.lightningdesignsystem.com/icons/有任何Chrome扩展程序或其他方法可以做到这一点吗?

I want to save SVG as file from this page https://www.lightningdesignsystem.com/icons/ Is there any Chrome extension or other way to do this?

推荐答案

除非我有误解,否则这就像检查( F12 )页面上的图标以显示其.svg一样容易源文件路径,直接转到该路径(示例),然后使用 Control + u 查看页面源代码.然后只需保存该代码即可.

Unless I am misunderstanding you, this could be as easy as inspecting (F12) the icon on the page to reveal its .svg source file path, going to that path directly (Example), and then viewing the page source code with Control+u. Then just save that code.

要保存代码,请将其粘贴到文本编辑器(例如google docs)中.然后将文件另存为.txt文件.将该文件名的结尾从".txt"更改为到".svg",现在您将文件保存为.svg.此方法无需获取任何外部扩展或下载任何程序,并且功能相同.

To save the code, paste it into a text editor such as google docs. Then save the file as a .txt file. Change the end of that file's name from ".txt" to ".svg", and now you have your file as a .svg. This method does not involve getting any external extensions or downloading any programs, and it functions the same.

这篇关于如何从网页中提取svg作为文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆