Skip to content

Commit 7c7c4df

Browse files
committed
feat: update the framework lesson to be about JS
1 parent 4bb90cb commit 7c7c4df

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

sources/academy/webscraping/scraping_basics_javascript2/12_framework.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -524,7 +524,6 @@ When navigating to the first IMDb search result, you might find it helpful to kn
524524
} else if (request.label === 'IMDB_SEARCH') {
525525
// handle IMDB search results
526526
await enqueueLinks({ selector: '.find-result-item a', label: 'IMDB', limit: 1 });
527-
528527
} else if (request.label === 'NETFLIX') {
529528
// handle Netflix table
530529
const $requests = $('[data-uia="top10-table-row-title"] button').map((i, nameButton) => {

sources/academy/webscraping/scraping_basics_python/12_framework.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ The code above assumes the `.select_one()` call doesn't return `None`. If your e
209209

210210
Now for the price. We're not doing anything new here—just copy-paste the code from our old scraper. The only change will be in the selector.
211211

212-
The only change will be in the selector. In `oldmain.py`, we look for `.price` within a `product_soup` object representing a product card. Here, we're looking for `.price` within the entire product detail page. It's better to be more specific so we don't accidentally match another price on the same page:
212+
In `oldmain.py`, we look for `.price` within a `product_soup` object representing a product card. Here, we're looking for `.price` within the entire product detail page. It's better to be more specific so we don't accidentally match another price on the same page:
213213

214214
```py
215215
async def main():

0 commit comments

Comments
 (0)