Skip to content

chore: paper-pdf reads MDPI and IEEE papers from the address that serves the file - #1522

Merged
sickerine merged 1 commit into
devfrom
chore/paper-pdf-publisher-rules
Nov 24, 2026
Merged

sickerine merged 1 commit into
devfrom
chore/paper-pdf-publisher-rules

Conversation

@sickerine

Copy link
Copy Markdown
Collaborator

Pins OpenDevEd/paper-pdf at 7f8313c. Nothing else changes: only package.json and the lockfile.

What the new commit does

  • An MDPI paper is read from mdpi-res.com, which serves the PDF to a plainly named bot. mdpi.com answers scripts with 403.
  • An IEEE paper is read from Xplore's file address, the one Zotero's translator uses. Xplore's page is drawn by a script.
  • A page's PDF link is read when it is an icon named by its title, escaped whole, behind a download script or in a viewer's frame.

Checked

  • The package's benchmark on 1,000 random open-access papers, two passes as an import runs them: 736 found, against 708 with the commit pinned before. The new rules account for 24 of the new finds: 17 MDPI, 2 IEEE, 5 page links.
  • From this branch, downloadPdf in lib/pdf/download.ts against the live web: 10.3390/met12030391 came from mdpi-res.com (10.6 MB, 0.8 s) and 10.1109/access.2024.3419561 from Xplore (2.0 MB, 4.3 s).
  • convex/research/paperPdf.test.ts, convex/evidenceLibraries/paperLinks.test.ts and convex/zotero/library.test.ts pass (28 tests).

Out of scope

  • A browser or a browser's name. The package still names itself plainly.

OpenDevEd/paper-pdf 7f8313c reads an MDPI paper from mdpi-res.com, which serves
the PDF to a plainly named bot where mdpi.com answers 403, and an IEEE paper
from Xplore's file address. It also reads page links that are an icon, escaped
whole or in a viewer's frame.

On 1,000 random open-access papers the package's two passes found 736, against
708 with the commit pinned before.
@coderabbitai

coderabbitai Bot commented Nov 24, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b3643d3f-cbd8-43a3-922d-f5c81ce166eb
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 24, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-24T05:00:04.335289Z 56c37a5 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@sickerine
sickerine merged commit f0f363d into dev Nov 24, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant