Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion python-examples/bs4/api/details.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from utils.types_and_schemas import DetailsParams, ProductDetails


def extract_product_details(html: str) -> ProductDetails:
def extract_product_details(html: str) -> dict:
"""
Extracts detailed product information from the page HTML using BeautifulSoup.
Replace selectors with appropriate ones for your target site.
Expand Down
1 change: 0 additions & 1 deletion python-examples/e-commerce-scrapingcourse/api/list.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,6 @@ async def automation(page: Page, params: Params, **_kwargs) -> list[Product]:

# Loop through all pages until there are no more pages or limit is reached
while current_page < page_limit:
current_page += 1
print(f"Scraping page {current_page}...")

# Extract all products from the current page
Expand Down
Loading