Skip to Content
Python数据处理
book

Python数据处理

by Jacqueline Kazil, Katharine Jarmul
July 2017
Intermediate to advanced
398 pages
11h 54m
Chinese
Posts & Telecom Press
Content preview from Python数据处理
230
11
11-5:元素选项
对于不同的浏览器,工具的语言和交互可能差别很大,但是菜单选项应该同
在这里描述的类似,这应该让你对如何访问数据和这些交互操作有了一些了
解。
除了找到元素和内容之外,开发者工具展示了大量有关页面上节点结构和家族关系的信
息。在开发者工具中,通常会有一个检视标签,展示当前元素的父元素列表。该列表中的
元素通常可以被点击或者选择,所以你可以通过一个简单的点击遍历
DOM
。在
Chrome
中,这个列表在开发者工具和上方页面之间的灰色部分。
我们已经查看了
Web
页面的组织结构,以及如何同它们交互来更好地理解内容的位置。现
在来研究浏览器中让网页抓取更加简单的其他强大工具。
11.2.2
 网络
/
时间线
页面是如何加载的
分析开发者工具中的时间线(
Timeline
/
网络(
Network
)标签将让你深刻理解页面内容
是如何加载的以及加载的顺序。页面加载的时间和方式可以极大地影响你决定抓取页面的
网页抓取:获取并存储网络数据
231
方式。有时,理解内容来源是抓取所需内容的“快捷方式”。
网络或时间线标签展示了已加载的
URL
、加载顺序和加载所需时间。图
11-6
展示了
Enough
项目页面在
Chrome
中网络标签的样子。对于不同的浏览器,你可能需要重新加载
页面,来查看网络标签页面的内容。 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

数据科学中的实用统计学(第2版)

数据科学中的实用统计学(第2版)

Peter Bruce, Andrew Bruce, Peter Gedeck
Java持续交付

Java持续交付

Daniel Bryant, Abraham Marín-Pérez
解密金融数据

解密金融数据

Justin Pauley

Publisher Resources

ISBN: 9787115459190