爬取图片,得到的响应包是这种,怎么处理格式呢?


"<?xml version=\"1.0\" encoding=\"utf-8\"?>\r\n<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\r\n<!-- Generator: PTC Arbortext IsoDraw 7.3 M080 -->\r\n<svg width=\"100%\" height=\"100%\" viewBox=\"0 0 220.099 130.099\"\r\n xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\"\r\n fill-rule=\"evenodd\" clip-rule=\"evenodd\" stroke=\"#000000\" stroke-linecap=\"round\" fill=\"none\" xml:space=\"preserve\">\r\n <g id=\"标准层\">\r\n </g>\r\n <g id=\"Ebene_x0020_2\">\r\n  <polygon stroke=\"#FFFFFF\" stroke-width=\"0.1\" points=\"0.05 0.05 220.05 0.05 220.05 130.05 0.05 130.05 0.05 0.05\"/>\r\n  <g class=\"callout callout_1\">\r\n   <line stroke-width=\"0.1\" x1=\"53.209\" y1=\"55.408\" x2=\"41.165\" y2=\"51.554\"/>\r\n   <path stroke=\"none\" fill=\"#FFFFFF\" d=\"M39.165 51.554C39.165 52.658 40.061 53.554 41.165 53.554 42.271 53.554 43.165 52.658 43.165 51.554 43.165 50.45 42.271 49.554 41.165 49.554 40.061 49.554 39.165 50.45 39.165 51.554 39.165 51.554 39.165 51.554 39.165 51.554L39.165 51.554z\"/>\r\n   <text x=\"40.283\" y=\"52.746\" stroke=\"none\" fill=\"#000000\" font-family=\"'宋体'\" font-size=\"3.528\"><desc>1</desc>1</text>\r\n  </g>\r\n  <g class=\"callout callout_2\">\r\n   <line stroke-width=\"0.1\" x1=\"58.854\" y1=\"64.585\" x2=\"43.575\" y2=\"66.006\"/>\r\n   <path stroke=\"none\" fill=\"#FFFFFF\" d=\"M41.575 66.006C41.575 67.109 42.469 68.006 43.575 68.006 44.679 68.006 45.575 67.109 45.575 66.006 45.575 64.9 44.679 64.006 43.575 64.006 42.469 64.006 41.575 64.9 41.575 66.006 41.575 66.006 41.575 66.006 41.575 66.006L41.575 66.006z\"/>\r\n   <text x=\"42.692\" y=\"67.197\" stroke=\"none\" fill=\"#000000\" font-family=\"'宋体'\" font-size=\"3.528\"><desc>2</desc>2</text>\r\n  </g>\r\n  <g class=\"callout callout_3\">\r\n   <line stroke-width=\"0.1\" x1=\"60.591\" y1=\"68.98\" x2=\"44.658\" y2=\"71.424\"/>\r\n   <path stroke=\"none\" fill=\"#FFFFFF\" d=\"M42.658 71.424C42.658 72.53 43.554 73.424 44.658 73.424 45.762 73.424 46.658 72.53 46.658 71.424 46.658 70.32 45.762 69.424 44.658 69.424 43.554 69.424 42.658 70.32 42.658 71.424 42.658 71.424 42.658 71.424 42.658 71.424L42.658 71.424z\"/>\r\n   <text x=\"43.777\" y=\"72.631\" stroke=\"none\" fill=\"#000000\" font-family=\"'宋体'\" font-size=\"3.528\"><desc>3</desc>3</text>\r\n  </g>\r\n  <g class=\"callout callout_4\">\r\n   <line stroke-width=\"0.1\" x1=\"62.691\" y1=\"88.135\" x2=\"54.412\" y2=\"88.043\"/>\r\n   <path stroke=\"none\" fill=\"#FFFFFF\" d=\"M52.412 88.043C52.412 89.149 53.308 90.043 54.412 90.043 55.518 90.043 56.412 89.149 56.412 88.043 56.412 86.939 55.518 86.043 54.412 86.043 53.308 86.043 52.412 86.939 52.412 88.043 52.412 88.043 52.412 88.043 52.412 88.043L52.412 88.043z\"/>\r\n   <text x=\"53.53\" y=\"89.236\" stroke=\"none\" fill=\"#000000\" font-family=\"'宋体'\" font-size=\"3.528\"><desc>4</desc>4</text>\r\n  </g>\r\n  <g class=\"callout callout_5\">\r\n   <line stroke-width=\"0.1\" x1=\"65.201\" y1=\"85.524\" x2=\"59.832\" y2=\"81.54\"/>\r\n   <path stroke=\"none\" fill=\"#FFFFFF\" d=\"M57.832 81.54C57.832 82.646 58.728 83.54 59.832 83.54 60.936 83.54 61.832 82.646 61.832 81.54 61.832 80.436 60.936 79.54 59.832 79.54 58.728 79.54 57.832 80.436 57.832 81.54 57.832 81.54 57.832 81.54 57.832 81.54L57.832 81.54z\"/>\r\n   <text x=\"58.951\" y=\"82.733\" stroke=\"none\" fill=\"#000000\" font-family=\"'宋体'\" font-size=\"3.528\"><desc>5</desc>5</text>\r\n  </g>\r\n  <g class=\"callout callout_6\">\r\n   <line stroke-width=\"0.1\" x1=\"72.825\" y1=\"79.9\" x2=\"70.551\" y2=\"77.808\"/>\r\n   <path stroke=\"none\" fill=\"#FFFFFF\" d=\"M68.551 77.808C68.551 78.912 69.445 79.808 70.551 79.808 71.655 79.808 72.551 78.912 72.551 77.808 72.551 76.703 71.655 75.808 70.551 75.808 69.445 75.808 68.551 76.703 68.551 77.808 68.551 77.808 68.551 77.808 68.551 77.808L68.551 77.808z\"/>\r\n   <text x=\"69.668\" y=\"79.013\" stroke=\"none\" fill=\"#000000\" font-family=\"'宋体'\" font-size=\"3.528\"><desc>6</desc>6</text>\r\n  </g>\r\n  <g class=\"callout callout_7\">\r\n   <line stroke-width=\"0.1\" x1=\"76.897\" y1=\"76.459\" x2=\"74.525\" y2=\"76.242\"/>\r\n   <path stroke=\"none\" fill=\"#FFFFFF\" d=\"M72.525 76.242C72.525 77.346 73.42 78.242 74.525 78.242 75.629 78.242 76.525 77.346 76.525 76.242 76.525 75.138 75.629 74.242 74.525 74.242 73.42 74.242 72.525 75.138 72.525 76.242 72.525 76.242 72.525 76.242 72.525 76.242L72.525 76.242z\"/>\r\n   <text x=\"73.643\" y=\"77.433\" stroke=\"none\" fill=\"#000000\" font-family=\"'宋体'\" font-size=\"3.528\"><desc>7</desc>7</text>\r\n  </g>\r\n  <g class=\"callout callout_8\">\r\n   <line stroke-width=\"0.1\" x1=\"78.853\" y1=\"75.212\" x2=\"78.2\" y2=\"73.286\"/>\r\n   <path stroke=\"none\" fill=\"#FFFFFF\" d=\"M76.2 73.286C76.2 74.391 77.096 75.286 78.2 75.286 79.305 75.286 80.2 74.391 80.2 73.286 80.2 72.182 79.305 71.286 78.2 71.286 77.096 71.286 76.2 72.182 76.2 73.286 76.2 73.286 76.2 73.286 76.2 73.286L76.2 73.286z\"/>\r\n   <text x=\"77.317\" y=\"74.492\" stroke=\"none\" fill=\"#000000\" font-family=\"'宋体'\" font-size=\"3.528\"><desc>8</desc>8</text>\r\n  </g>\r\n  <g class=\"callout callout_9\">\r\n   <line stroke-width=\"0.1\" x1=\"83.593\" y1=\"74.537\" x2=\"82.221\" y2=\"70.82\"/>\r\n   <path stroke=\"none\" fill=\"#FFFFFF\" d=\"M80.221 70.82C80.221 71.926 81.117 72.82 82.221 72.82 83.326 72.82 84.221 71.926 84.221 70.82 84.221 69.716 83.326 68.82 82.221 68.82 81.117 68.82 80.221 69.716 80.221 70.82 80.221 70.82 80.221 70.82 80.221 70.82L80.221 70.82z\"/>\r\n   <text x=\"81.34\" y=\"72.027\" stroke=\"none\" fill=\"#000000\" font-family=\"'宋体'\" font-size=\"3.528\"><desc>9</desc>9</text>\r\n  </g>\r\n  <g class=\"callout callout_10\">\r\n   <line stroke-width=\"0.1\" x1=\"99.811\" y1=\"68.838\" x2=\"94.275\" y2=\"72.388\"/>\r\n   <path stroke=\"none\" fill=\"#FFFFFF\" d=\"M92.275 72.388C92.275 73.492 93.171 74.388 94.275 74.388 95.379 74.388 96.275 73.492 96.275 72.388 96.275 71.284 95.379 70.388 94.275 70.388 93.171 70.388 92.275 71.284 92.275 72.388 92.275 72.388 92.275 72.388 92.275 72.388L92.275 72.388z\"/>\r\n   <text x=\"92.512\" y=\"73.593\" stroke=\"none\" fill=\"#000000\" font-family=\"'宋体'\" font-size=\"3.528\"><desc>10</desc>10</text>\r\n  </g>\r\n  <g class=\"callout callout_11\">\r\n   <line stroke-width=\"0.1\" x1=\"74.855\" y1=\"68.778\" x2=\"70.254\" y2=\"72.117\"/>\r\n   <path stroke=\"none\" fill=\"#FFFFFF\" d=\"M68.254 72.117C68.254 73.222 69.149 74.117 70.254 74.117 71.358 74.117 72.254 73.222 72.254 72.117 72.254 71.013 71.358 70.117 70.254 70.117 69.149 70.117 68.254 71.013 68.254 72.117 68.254 72.117 68.254 72.117 68.254 72.117L68.254 72.117z\"/>\r\n   <text x=\"68.489\" y=\"73.311\" stroke=\"none\" fill=\"#000000\" font-family=\"'宋体'\" font-size=\"3.528\"><desc>11</desc>11</text>\r\n  </g>\r\n  <g class=\"callout callout_12\">\r\n   <line stroke-width=\"0.1\" x1=\"74.287\" y1=\"66.593\" x2=\"67.14\" y2=\"69.263\"/>\r\n   <path stroke=\"none\" fill=\"#FFFFFF\" d=\"M65.14 69.263C65.14 70.368 66.034 71.263 67.14 71.263 68.245 71.263 69.14 70.368 69.14 69.263 69.14 68.159 68.245 67.263 67.14 67.263 66.034 67.263 65.14 68.159 65.14 69.263 65.14 69.263 65.14 69.263 65.14 69.263L65.14 69.263z\"/>\r\n   <text x=\"65.376\" y=\"70.456\" stroke=\"none\" fill=\"#000000\" font-family=\"'宋体'\" font-size=\"3.528\"><desc>12</desc>12</text>\r\n  </g>\r\n  <g class=\"callout callout_13\">\r\n   <line stroke-width=\"0.1\" x1=\"74.313\" y1=\"65.614\" x2=\"66.296\" y2=\"65.079\"/>\r\n  

这是xml格式写成的SVG图片,将返回的字符串使用with open语句保存为xml文件或svg文件,再用浏览器打开即可看到图片。