使用 Jquery 从页面中提取数据?
我想提取动态网页上的所有 ISBN,但我无法通过 Yahoo Pipe 提供该网页(用户必须登录才能查看该页面)。有没有办法用 jQuery 做到这一点?如何?
编辑: 结构:
以下是该页面上 HTML 的示例。有一个 ,其中包含一系列
元素。其中一个示例大致如下:
<tr>
<td>(required/optional)</td>
<td>LAFORE</td>
<td>OBJECT ORIENTED PROGRAMMING IN C++ 4E</td>
<td>9780672323089</td>
<td>(course and section)</td>
<td>(pricing information)</td>
</tr>
其中任何一个都没有 id 属性,但结构定义良好。
谢谢!
I'd like to extract all the ISBNs on a dynamic web page that I can't feed through a Yahoo Pipe (the user has to log in to see the page). Is there a way to do that with jQuery? How?
Edit:
The structure:
Here's an example of what the HTML looks like on that page. There's a <table>
that has a series of <tr>
elements in them. A sample one of those looks roughly like this:
<tr>
<td>(required/optional)</td>
<td>LAFORE</td>
<td>OBJECT ORIENTED PROGRAMMING IN C++ 4E</td>
<td>9780672323089</td>
<td>(course and section)</td>
<td>(pricing information)</td>
</tr>
There are no id attributes on any of these, the structure is well defined though.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)