Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Python course lesson about getting links #1214

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

honzajavorek
Copy link
Collaborator

@honzajavorek honzajavorek commented Sep 13, 2024

I dared to include my favorite gif that dates back to ancient Apiary times with @netmilk.

@honzajavorek honzajavorek added the t-academy Issues related to Web Scraping and Apify academies. label Sep 13, 2024
@honzajavorek honzajavorek marked this pull request as ready for review September 13, 2024 12:59
Comment on lines +150 to +162
Now let's put it all together:

```py
import httpx
from bs4 import BeautifulSoup
from decimal import Decimal
import csv
import json

def download(url):
...

def parse_product(product):
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it's beneficial to use runnable examples when "putting it all together". When the student gets stuck, breaks their code and needs to get back on track, a copiable example helps do that.

It's also harder to test the code regularly when none of the examples are actually runnable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
t-academy Issues related to Web Scraping and Apify academies.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants