Skip to content

Conversation

@honzajavorek
Copy link
Collaborator

@honzajavorek honzajavorek commented Jan 12, 2026

Enabled by apify/crawlee-python#1597
Fixes #2112


Note

Switches Python Crawlee examples to the unified crawler.export_data() API in the Academy lessons, replacing deprecated export_data_json/export_data_csv calls while preserving parameters.

  • In 12_framework.md, update export examples (including logging and exercise solutions) to await crawler.export_data(path='dataset.json', ensure_ascii=False, indent=2) and await crawler.export_data(path='dataset.csv')
  • In 13_platform.md, update export calls in the platform lesson to the same export_data() usage

Written by Cursor Bugbot for commit 3546f60. Configure here.

@honzajavorek honzajavorek requested a review from vdusek January 12, 2026 13:07
@honzajavorek honzajavorek requested a review from TC-MO as a code owner January 12, 2026 13:07
@honzajavorek honzajavorek added the t-academy Issues related to Web Scraping and Apify academies. label Jan 12, 2026
@apify-service-account
Copy link

Preview for this PR was built for commit 3546f60 and is ready at https://pr-2171.preview.docs.apify.com!

Copy link
Contributor

@vdusek vdusek left a comment

Choose a reason for hiding this comment

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

LGTM

@honzajavorek honzajavorek merged commit be6acc8 into master Jan 13, 2026
13 checks passed
@honzajavorek honzajavorek deleted the honzajavorek/export-data branch January 13, 2026 15:33
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.

Crawlee doesn't seem to provide .export_data_json() and export_data_csv() anymore

4 participants