Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的程序中,用户将输入这样的 imdb 链接http://www.imdb.com/title/tt0816692/
我只会获取姓名、年份和积分信息。
我怎样才能做到这一点 ?
您可以将页面内容读入字符串并将其放入 div 中。然后使用选择器获取您的信息。例如电影名称在此 ID 中:mediastrip_big