Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbe630f0

Browse files
authored
Update README.md
1 parent693ecab commitbe630f0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,9 +85,8 @@ Once you know exactly what you want from the site, you can inspect those element
8585

8686
The Chrome DevTools will open and display the HTML structure of the page. You can manually search for the item you need or use the element picker tool in the top-left corner. Select it, hover over the item you need in the page and it'll find it in the HTML code. After a quick inspection, you can see that the main information on each book is located in the article element with a class name**product_pod**.
8787

88-
<palign="center">
89-
<img src="https://i.imgur.com/QbdDzyW.png" alt="books.toscrape.com Inspecting the HTML">
90-
</p>
88+
![ezgif-5-718c9a2060](https://github.com/Smartproxy/Python-scraper-tutorial/assets/159907476/e229d3f4-1512-42ab-8390-e47a5fdecc5c)
89+
9190

9291
All of the data you'll need is nested in the**article** element. Now, let's inspect the price. We can see that the price value is the text of the paragraph with the**price_color** class. If you inspect the In stock part, you can see that it's a text value of the**instock availability** paragraph. You can check out other elements on the page and see how they're represented in the HTML. Once you're done, let's build a simple web scraper to extract this data through code.
9392

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp