Scrapy v2.4.0 Release Notes

Release Date: 2020-10-11 // 10 days ago
  • Hihglights:

    ๐Ÿ‘ Python 3.5 support has been dropped.

    ๐Ÿ“„ The file_path method of media pipelines can now access the source item.

    This allows you to set a download file path based on item data.

    The new item_export_kwargs key of the FEEDS setting allows to define keyword parameters to pass to item exporter classes.

    ๐Ÿ“„ You can now choose whether feed exports overwrite or append to the output file.

    ๐Ÿ“„ For example, when using the crawl or runspider commands, you can use the -O option instead of -o to overwrite the output file.

    ๐Ÿ‘ Zstd-compressed responses are now supported if zstandard is installed.

    In settings, where the import path of a class is required, it is now possible to pass a class object instead.

    ๐Ÿ‘€ See the full changelog

Previous changes from v2.3.0