Skip to content

Commit 118a550

Browse files
committed
style: fix markup
1 parent d4e0643 commit 118a550

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

sources/academy/webscraping/scraping_basics_python/09_getting_links.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -347,9 +347,7 @@ https://en.wikipedia.org/wiki/Botswana
347347

348348
<details>
349349
<summary>Solution</summary>
350-
351-
<CodeBlock language="py">{WikipediaCountryLinksExercise.code}</CodeBlock>
352-
350+
<CodeBlock language="py">{WikipediaCountryLinksExercise.code}</CodeBlock>
353351
</details>
354352

355353
### Scrape links to F1 news
@@ -372,8 +370,7 @@ https://www.theguardian.com/sport/article/2024/sep/02/max-verstappen-damns-his-u
372370

373371
<details>
374372
<summary>Solution</summary>
375-
376-
<CodeBlock language="py">{GuardianF1LinksExercise.code}</CodeBlock>
373+
<CodeBlock language="py">{GuardianF1LinksExercise.code}</CodeBlock>
377374

378375
Note that some cards contain two links. One leads to the article, and one to the comments. If we selected all the links in the list by `#maincontent ul li a`, we would get incorrect output like this:
379376

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,6 @@ You can find everything you need for working with dates and times in Python's [`
346346
After inspecting the job board, you'll notice that job postings tagged as "Database" have a dedicated URL. We'll use that as our starting point, which saves us from having to scrape and check the tags manually.
347347

348348
<CodeBlock language="py">{PythonJobsDatabaseExercise.code}</CodeBlock>
349-
350349
</details>
351350

352351
### Find the shortest CNN article which made it to the Sports homepage

0 commit comments

Comments
 (0)