feat(scihub-su): add Sci-Hub.su DOI resolution and search adapters - #76
Open
fancywindy wants to merge 1 commit into
Open
feat(scihub-su): add Sci-Hub.su DOI resolution and search adapters#76fancywindy wants to merge 1 commit into
fancywindy wants to merge 1 commit into
Conversation
Add bb-browser site adapters for sci-hub.su mirror: - scihub-su/doi: Resolve paper PDF by DOI. Directly queries sci-hub.su/DOI and extracts PDF links from the response page using multiple fallback strategies (embed, iframe, link, script). - scihub-su/search: Accepts DOI, PMID, title, or publisher URL. Automatically detects DOI format and uses direct resolution. Falls back to search form for non-DOI queries. Features: - Domain validation (sci-hub.su) - Anti-bot bypass via Referer header - DDoS-Guard / verification page detection - Multiple PDF extraction strategies - Structured error handling with hints - Security warning about unofficial mirror status
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 bb-browser site adapters for sci-hub.su mirror:
scihub-su/doi — Resolve paper PDF by DOI. Directly queries sci-hub.su/DOI and extracts PDF links from the response page using multiple fallback strategies (embed, iframe, link, script redirect).
scihub-su/search — Accepts DOI, PMID, title, or publisher URL. Automatically detects DOI format and uses direct resolution. Falls back to search form for non-DOI queries.
Features
Usage
已打开: https://sci-hub.su
Tab ID: 7E42CE85C2CAACBE2086236A4D7982D1
💡 该网站有 2 个 site adapter 可直接获取数据,无需手动操作浏览器。试试: bb-browser site scihub-su/doi 10.1016/j.watres.2023.120123
Checklist