Skip to content

Commit 017d2ae

Browse files
honzajavorekmnmkng
andcommitted
style: split sentences for better readability
Co-authored-by: Ondra Urban <[email protected]>
1 parent 3cf2893 commit 017d2ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/academy/webscraping/scraping_basics_python/11_scraping_variants.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ First, let's extract information about the variants. If we go to [Sony XBR-950G
3939

4040
Nice! We can extract the variant names, but we also need to extract the price for each variant. Switching the variants using the buttons shows us that the HTML changes dynamically. This means the page uses JavaScript to display information about the variants.
4141

42-
If we can't find a workaround, we'd need our scraper to run JavaScript. That's not impossible—scrapers can spin up their own browser instance and automate clicking on buttons, but it's slow and resource-intensive. Ideally, we want to stick to plain HTTP requests and Beautiful Soup as much as possible.
42+
If we can't find a workaround, we'd need our scraper to run JavaScript. That's not impossible. Scrapers can spin up their own browser instance and automate clicking on buttons, but it's slow and resource-intensive. Ideally, we want to stick to plain HTTP requests and Beautiful Soup as much as possible.
4343

4444
After a bit of detective work, we notice that not far below the `block-swatch-list` there's also a block of HTML with a class `no-js`, which contains all the data!
4545

0 commit comments

Comments
 (0)