从其他站点读取信息的脚本 [英] script to read information from other sites
问题描述
我的一个朋友写了一个脚本,该脚本从其他网站(例如3个人的追踪者数量,并将其显示在他的网站上.我对做这样的事情很感兴趣.我搜索了脚本,发现有很多脚本语言.我将如何选择要学习的课程?他们都一样吗?您更喜欢执行哪一项任务?最后您有什么好的建议吗? 我现在所处的位置:即时通讯基本上是从零开始编写脚本,但我知道如何编写C,C ++,HTML ... 谢谢=)
a friend of mine wrote a script, which read information from other sites e.g. number of followers 3 ppl had and displayed them on his website. I was interested in doing such things. I searched for scripting and found out there are many scripting languages. How would I chose which one to learn? are they all the same? which one do u prefer to do my task? and finally any good reference you suggest? where I stand now: im basically starting from zero in scripting but I know how to code C, C++, HTML... Thanks=)
推荐答案
如果您要阅读的网站具有执行此操作的API(例如Twitter),那么我将看一下
If the sites you want to read from have an API for doing this (e.g. Twitter) then I would take a look at something like Yahoo! Query Language.
如果他们没有API,那么此Wikipedia文章可能是一个不错的起点:网络抓取
If they don't have an API then this Wikipedia article may be a good place to start: Web scraping
没有特定的语言最适合做这种事情,这取决于您的喜好.我希望有一些C ++库可以做到这一点.
There's no specific language which is best for doing this kind of thing, it's down to what you prefer. I expect there are some C++ libraries out there for doing this.
这篇关于从其他站点读取信息的脚本的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!