如何从其他网站收集信息? [英] How do I gather information from other sites?

查看:110
本文介绍了如何从其他网站收集信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好!



我首先要说的是我对编码很新(昨天在大学开始)。



我和一些家人和朋友已经开始投资组合,我们有一些股票,一些白银和一些黄金。我想创建一个显示投资组合价值的网站。所以我要做的是从另一个网站收集信息。



我想在黄线收集信息,右边是Köp和Sälj(蓝色和红色的底部)。



这是怎么做到的?我一直在谷歌搜索,但找不到任何对我有意义的东西。



提前谢谢!

Hello!

Let me just to start with saying that I'm really new to coding (started yesterday at the university).

Me and some family and friends have started an investment portfolio in which we have some stock, some silver and some gold. I want to create a website that displays the value of the portfolio. So what I'm trying to do is gather info from another site.

I want to gather the info at the "yellow line", right to "Köp" and "Sälj" (blue and red bottons).

How is this done? I've been googling for quite a while, but can't find anything that makes sense to me.

Thanks in advance!

推荐答案

您不应该从其他人的网站上获取数据。它不仅不道德,而且如果它们改变了网站的标记,你的代码可能会破坏。相反,您应该使用来自实现此类事物的服务提供商的库存API。如果你谷歌你会发现一些可以免费使用



https://www.quandl.com/blog/api-for-stock-data [ ^ ]
You shouldn't take data from other people's sites. Not only is it unethical, but if they change the mark-up of their site your code will likely break. Instead you should use a stock api from a service provider that implements such a thing. If you google you'll find a few that are free to use

https://www.quandl.com/blog/api-for-stock-data[^]


这篇关于如何从其他网站收集信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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