Scrapy 1.2.1 リリース

投稿者: | 2016年10月22日

新機能

  • New FEED_EXPORT_ENCODING setting to customize the encoding used when writing items to a file. This can be used to turn off \uXXXX escapes in JSON output. This is also useful for those wanting something else than UTF-8 for XML or CSV output (#2034).
  • startproject command now supports an optional destination directory to override the default one based on the project name (#2005).
  • New SCHEDULER_DEBUG setting to log requests serialization failures (#1610).
  • JSON encoder now supports serialization of set instances (#2058).
  • Interpret application/json-amazonui-streaming as TextResponse (#1503).

Bug修復

  • DefaultRequestHeaders middleware now runs before UserAgent middleware (#2088). Warning: this is technically backwards incompatible, though we consider this a bug fix.
  • HTTP cache extension and plugins that use the .scrapy data directory now work outside projects (#1581). Warning: this is technically backwards incompatible, though we consider this a bug fix.
  • Selector does not allow passing both response and text anymore (#2153).
  • Fixed logging of wrong callback name with scrapy parse (#2169).
  • Fix for an odd gzip decompression bug (#1606).

ダウンロード