我试图从this site获取数据
然后用一些。很抱歉没有复制粘贴它,但它是一个很长的xml。到目前为止,我试图通过以下方式获取这些数据:
from urllib.request import urlopen
url = "http://degra.wi.pb.edu.pl/rozklady/webservices.php?"
s = urlopen(url)
content = s.read()
由于print(content)
看起来不错,现在我想从中获取一个数据
^{pr2}$
如何处理这些数据以便于使用?在
Tags:
你可以用漂亮的汤和捕捉你想要的标签。下面的代码应该可以让你开始!在
相关问题 更多 >
编程相关推荐