从其他站点读取信息的脚本
我的一个朋友写了一个脚本,它从其他网站读取信息,例如 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=)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您想要阅读的网站有一个 API 可以执行此操作(例如 Twitter),那么我会看一下类似 雅虎!查询语言。
如果他们没有 API,那么这篇维基百科文章可能是一个不错的起点:网页抓取
没有特定的语言最适合做这种事情,这取决于你喜欢什么。我希望有一些 C++ 库可以做到这一点。
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.
If they don't have an API then this Wikipedia article may be a good place to start: Web scraping
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.