Skip to content

0.5.1

Choose a tag to compare

@zrbyte zrbyte released this 22 Nov 10:25
· 4 commits to main since this release

paper-firehose 0.5.1

Fixes

  • Feeds that need a cookie can be read again (#87). Feeds are now fetched with an HTTP session that keeps cookies across redirects. Publishers that answer with a cookie check (for example ChemRxiv and other /action/showFeed feeds) now return their entries instead of nothing.
  • No more lost papers from Optica, Photonics Research and Quantum (#88). These feeds tell their papers apart only by the part of the link after the ?. Entry IDs used to drop that part, so each run kept just one paper per feed. Now only tracking parameters (af, rss, utm_*, …) are removed. IDs for all other feeds are unchanged.
  • ACS feeds (Nano Letters, ACS Nano, ACS Energy Letters) now use https://pubs.acs.org/rss/<code>/asap.xml. The old action/showFeed addresses returned HTTP 403.

Improvements

  • Faster filter stage (#89). all_feed_entries.db now has an index on title, and the duplicate checks use a single database connection. With about 84,000 rows the stage goes from minutes to seconds. Existing databases get the index on their next run.
  • One backup per day. filter now backs up the databases at most once a day instead of on every run.
  • Per-feed timeout. One hanging feed can no longer stall the whole run. Set it with defaults.feed_timeout_seconds (default 30).
  • Failed feeds are reported. Feeds that could not be fetched or parsed are logged, and filter --json lists them under failed_feeds. You can now tell "nothing new" apart from "couldn't read the feed".

Upgrading

  • If your local config.yaml still has the old ACS action/showFeed addresses, switch them to the asap.xml ones above.
  • No migration is needed: the title index is created automatically.