我如何拉动METAR [英] How do I pull a METAR
本文介绍了我如何拉动METAR的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好,
我还不熟悉编码。我想从这个链接中提取信息:
http://aviationweather.gov/adds/metars/index?submit=1&station_ids= RKSO& chk_metars =翻译
在该链接上我只想要底部的实际天气线。我不希望顶部的所有标题信息。有办法吗?
我尝试过:
我查找了刮刀和解析器,但我不知道如何编写类似的东西。
解决方案
因为你已标记Javascript
,无法通过Ajax
调用或iframe
,无论是服务受限制的方式访问。唯一的访问方式是使用任何服务器端技术(c#,java等)
参考网络抓取 - Google搜索 [ ^ ]
Hello,
I'm still new to coding. I would like to pull information from this link:
http://aviationweather.gov/adds/metars/index?submit=1&station_ids=RKSO&chk_metars=translated
On that link I only want the actual weather line at the bottom. I don't want all the header information at the top. Is there a way to do this?
What I have tried:
I've looked up scrapers and parsers but I have no idea how to code something like that.
解决方案
Since you have taggedJavascript
, it is not possible throughtAjax
call orIframe
, either ways the Service is restricted to access. only way to access is by using any server side technology (c#,java etc)
refer web scraping - Google Search[^]
这篇关于我如何拉动METAR的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文