Skip to content

Commit 4f2a263

Browse files
committed
Update Web Scraping with Python – Scraping Digital Comics information from Comixology.md
1 parent e34dd4e commit 4f2a263

1 file changed

Lines changed: 3 additions & 33 deletions

File tree

‎raw/Web Scraping with Python – Scraping Digital Comics information from Comixology.md‎

Lines changed: 3 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,3 @@
1-
[ ![](http://0.gravatar.com/avatar/f450c214808965f494b965d438ba780e?s=100&d=mm
2-
&r=g) ](http://felipegalvao.com.br/blog)
3-
4-
# [Felipe Galvão](http://felipegalvao.com.br/blog "View all posts by Felipe
5-
Galvão" )
6-
7-
##
8-
9-
## Published
10-
11-
## [maio 24, 2016](http://felipegalvao.com.br/blog/2016/05/24/web-scraping-
12-
with-python-scraping-digital-comics-information-from-comixology/ "Web Scraping
13-
with Python - Scraping Digital Comics information from Comixology" )
14-
15-
Skip to content
16-
17-
* [Data Science / Analysis with Python - Basics](http://felipegalvao.com.br/blog/data-science-analysis-with-python-basics/)
18-
* [Ciência / Análise de Dados com Python - Básico](http://felipegalvao.com.br/blog/ciencia-de-dados-com-python-basico/)
19-
* [Contatos / Contact Me](http://felipegalvao.com.br/blog/contatos-contact-me/)
20-
21-
## [Felipe Galvão](http://felipegalvao.com.br/blog "View all posts by Felipe
22-
Galvão" ) in [Python (English)](http://felipegalvao.com.br/blog/category
23-
/python-english/ "View all posts in Python \(English\)" ) | [maio 24,
24-
2016](http://felipegalvao.com.br/blog/2016/05/24/web-scraping-with-python-
25-
scraping-digital-comics-information-from-comixology/ "Web Scraping with Python
26-
- Scraping Digital Comics information from Comixology" )
27-
281
原文:[Web Scraping with Python - Scraping Digital Comics information from Comixology](http://felipegalvao.com.br/blog/2016/05/24/web-scraping-with-python-scraping-digital-comics-information-from-comixology/)
292

303
---
@@ -136,8 +109,7 @@ examples:
136109
//div | Select all the div elements in the document.
137110
---|---
138111
/html | Select the root element html.
139-
html//p | Select any p element inside the html element, no matter where they
140-
are.
112+
html//p | Select any p element inside the html element, no matter where they are.
141113
html/div | Select the div elements that are children of the html element.
142114

143115
You can also combine elements and attributes for the selection. To extract the
@@ -146,10 +118,8 @@ features that we will use the most. Let's see:
146118

147119
//@class | Select all the class attributes in the document.
148120
---|---
149-
//div[@class='style-div']/p | Select all the p elements that are children of
150-
div elements with a class value of "style-div".
151-
//p[@id='p-paragraph']/text() | Select the text inside each p element with an
152-
id value of "p-paragraph".
121+
//div[@class='style-div']/p | Select all the p elements that are children of div elements with a class value of "style-div".
122+
//p[@id='p-paragraph']/text() | Select the text inside each p element with an id value of "p-paragraph".
153123

154124
I uploaded a simple HTML file so we can construct the code in Python and check
155125
these examples in practice. The address of the page is:

0 commit comments

Comments
 (0)