Draft
Conversation
- Implement DOI resolution via Unpaywall API - Add email configuration for API compliance - Include test coverage
- Multi-source PDF fetching: CrossRef → Semantic Scholar → Unpaywall → PyPaperBot - DOI extraction from URLs and HTML metadata - Configurable Sci-Hub mirrors and proxy support - Query-based search fallback when DOI extraction fails
- ArXiv abs → pdf conversion with paper ID extraction - Publisher-specific resolvers for Wiley, ScienceDirect, DOI - Prefetching with browser-like headers to avoid 403 errors - Sequential scraper execution with fallback strategies
- Add PyPaperBot fallback when Docling processing fails - Update Docling wrapper with enhanced metadata extraction - Configurable pipeline with PDF processing modes and OCR options
- Add PyPaperBotScraper to __all__ exports - Update WaterfallScraper export structure
- Test PyPaperBot scraper configuration and DOI extraction - Test WaterfallScraper URL resolution logic - Test composite scraper fallback behavior - Test configuration validation
4a34617 to
41ce06a
Compare
NISH1001
requested changes
Aug 20, 2025
Collaborator
There was a problem hiding this comment.
Can we move the composite scrapers like this to akd.tools.scrapers.composite because it also uses waterfall as these are composite scrapers with dependency injection.
| "tiktoken>=0.9.0" | ||
| "tiktoken>=0.9.0", | ||
| "nbconvert>=7.16.6", | ||
| "matplotlib>=3.10.5", |
Collaborator
There was a problem hiding this comment.
Isn't matolotlib extra dependency?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add PDF scraper capabilities with URL resolution and fallback strategies.
Changes
Usage
Testing