Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
439 views
in Technique[技术] by (71.8m points)

get SVG path D value from a website using Python

This is full Xpath: /html/body/div[1]/div[1]/div[2]/div[2]/div/div/div[2]/div/div/div/table/tbody/tr[1]/td[3]/span/svg/path

this path d value is M 11 22 C 4.925 22 0 17.075 0 11 S 4.925 0 11 0 s 11 4.925 11 11 s -4.925 11 -11 11 Z m 0 -1 c 5.523 0 10 -4.477 10 -10 S 16.523 1 11 1 S 1 5.477 1 11 s 4.477 10 10 10 Z m 5.75 -12.75 L 9 16 l -3.753 -3.753 a 0.352 0.352 0 0 1 0.002 -0.498 a 0.355 0.355 0 0 1 0.501 0.001 L 9 15 l 7.25 -7.25 a 0.354 0.354 0 1 1 0.5 0.5 Z

I was trying to get the d value in svg path using python. Please help.

question from:https://stackoverflow.com/questions/66053362/get-svg-path-d-value-from-a-website-using-python

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...