I want to fetch all current and future courses form this website http://www.scfhs.info/cme_pd/search/index.php for example this queries http://www.scfhs.info/cme_pd/search/do_search.php to my iOS app , unfortunately they don't have an API.
我想从本网站http://www.scfhs.info/cme_pd/search/index.php获取所有当前和未来的课程,例如此查询http://www.scfhs.info/cme_pd/search/do_search.php对我的iOS应用程序,不幸的是他们没有API。
How to get the data?
如何获取数据?
2 个解决方案
#1
2
Check this out https://www.parsehub.com/ this will help you for sure
看看这个https://www.parsehub.com/这将对您有所帮助
#2
2
I've done this for a project, search for html scraping. There are a tools to do it that vary depending on your platform. Here is a start. Unfortunately if the page changes you have problems. In my case the pages would update in an inconsistent manner. It looks like most of the data you want is in option tags; that should make it easy to parse.
我已经为一个项目做了这个,搜索html抓取。有一些工具可以根据您的平台而有所不同。这是一个开始。不幸的是,如果页面发生变化,您就会遇在我的情况下,页面将以不一致的方式更新。看起来您想要的大多数数据都在选项标签中;这应该很容易解析。
I would have made this a comment, but I'm not worthy yet.
我本来可以发表评论,但我还不值得。
#1
2
Check this out https://www.parsehub.com/ this will help you for sure
看看这个https://www.parsehub.com/这将对您有所帮助
#2
2
I've done this for a project, search for html scraping. There are a tools to do it that vary depending on your platform. Here is a start. Unfortunately if the page changes you have problems. In my case the pages would update in an inconsistent manner. It looks like most of the data you want is in option tags; that should make it easy to parse.
我已经为一个项目做了这个,搜索html抓取。有一些工具可以根据您的平台而有所不同。这是一个开始。不幸的是,如果页面发生变化,您就会遇在我的情况下,页面将以不一致的方式更新。看起来您想要的大多数数据都在选项标签中;这应该很容易解析。
I would have made this a comment, but I'm not worthy yet.
我本来可以发表评论,但我还不值得。