Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What library can you use to send HTTP requests in Python?
Think of the name of the library that sounds like asking for something.
What does BeautifulSoup help you do?
It’s named after something you might find in a kitchen.
What is web scraping?
Think about when you don’t have an API.
The robots.txt file governs what?
Consider it like rules for a playground.
You need to extract all product prices from an e-commerce site. Write a Python function that takes a URL as input and returns a list of prices.
Identify the right HTML tags and classes where prices are stored.
Discuss how you can handle cases when a website denies your scraping request (like implementing captchas). Share potential strategies.
Think about common web defenses against bots.
4 more questions in this section. Enroll free to practise them all.
Enroll free