We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(2)
ObDisc:我不是律师,这也不是法律建议。
您可以获得合法的数据源吗?大概。在谷歌上搜索“电影放映时间内容许可”会发现似乎想要你花钱的服务。
可以深度链接吗?大概。 http://www.chillingeffects.org/linking/faq.cgi
你能抓取吗?可能不会。请参阅有关抓取合法性的相关文章,例如这篇文章:https://stackoverflow.com/questions/ 396778/legalities-of-screen-scraping
从纯粹的技术意义上来说,抓取 HTML 是一件痛苦且高度脆弱的事情。网站可以随意更改其布局,但更大的挑战将是解决来自发出可疑 HTML 代码的源的错误。不能说我推荐它。如果您可以获得 XML 提要,您可能可以避免遭受巨大的伤害。
ObDisc: I'm not a lawyer, and this is not legal advice.
Can you get legal data feeds? Probably. A Google search for "movie showtimes content licensing" turns up services that appear to want your money.
Can you deep-link? Probably. http://www.chillingeffects.org/linking/faq.cgi
Can you scrape? Probably not. See related articles about the legality of scraping, such as this one: https://stackoverflow.com/questions/396778/legalities-of-screen-scraping
In a purely technical sense, scraping HTML is a pain and highly fragile. Sites can change their layout at will, but your bigger challenge will be working around bugs from sources that emit dodgy HTML code. Can't say I recommend it. If you can get an XML feed, you can probably save yourself a world of hurt.
Flixster 有一个适用于当前影院电影的 API 方法:
http://developer.rottentomatoes。 com/docs/read/json/v10/In_Theaters_Movies
服务条款似乎支持您想做的事情。它还有一堆即将上映的电影和旧电影的其他电影相关数据!
Flixster has an API method for current in theater movies:
http://developer.rottentomatoes.com/docs/read/json/v10/In_Theaters_Movies
Terms of service seem to support what you want to do. And it has a bunch of other movie related data for upcoming and older movies!