{"id":20523013,"url":"https://github.com/openbytedev/scihub-scraper","last_synced_at":"2025-04-14T03:03:21.910Z","repository":{"id":57666348,"uuid":"259154317","full_name":"OpenByteDev/SciHub-Scraper","owner":"OpenByteDev","description":"Scraps paper pdf urls from sci-hub.","archived":false,"fork":false,"pushed_at":"2021-02-12T02:04:37.000Z","size":36,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-05-14T03:03:02.315Z","etag":null,"topics":["scihub","scraper","web"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenByteDev.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-26T23:22:20.000Z","updated_at":"2023-02-13T01:29:05.000Z","dependencies_parsed_at":"2022-09-26T20:31:45.448Z","dependency_job_id":null,"html_url":"https://github.com/OpenByteDev/SciHub-Scraper","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenByteDev%2FSciHub-Scraper","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenByteDev%2FSciHub-Scraper/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenByteDev%2FSciHub-Scraper/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenByteDev%2FSciHub-Scraper/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenByteDev","download_url":"https://codeload.github.com/OpenByteDev/SciHub-Scraper/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224854926,"owners_count":17380953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["scihub","scraper","web"],"created_at":"2024-11-15T22:37:34.946Z","updated_at":"2024-11-15T22:37:35.658Z","avatar_url":"https://github.com/OpenByteDev.png","language":"Rust","readme":"# SciHub Scraper\n\n[![crates.io](https://img.shields.io/crates/v/scihub-scraper.svg)](https://crates.io/crates/scihub-scraper)\n[![Documentation](https://docs.rs/scihub-scraper/badge.svg)](https://docs.rs/scihub-scraper)\n[![dependency status](https://deps.rs/repo/github/openbytedev/scihub-scraper/status.svg)](https://deps.rs/repo/github/openbytedev/scihub-scraper)\n[![MIT](https://img.shields.io/crates/l/scihub-scraper.svg)](https://github.com/OpenByteDev/SciHub-Scraper/blob/master/LICENSE)\n\nSciHub Scraper can be used to scrap paper info including its pdf url from sci-hub.\n \nSci-hub domains are automatically fetched from [sci-hub.now.sh](https://sci-hub.now.sh/), \nbut can also be manually provided by using `SciHubScraper::with_base_urls`\n\n## Usage\nTo extract all available information about a paper use `SciHubScraper.fetch_paper_by_doi` and associated methods:\n```rust\nlet mut scraper = SciHubScraper::new();\nlet paper = scraper.fetch_paper_by_doi(\"10.1016/j.tplants.2018.11.001\").await?;\nprintln!(\"Title = {}\", paper.title);\nprintln!(\"PDF Url = {}\", paper.download_url);\n```\n\nAlernatively `SciHubScraper.fetch_paper_pdf_url_by_doi` and associated methods can also be used to extract the PDF Url of a paper.\nIt only extracts the url using a different method and is therefore faster.\n\n```rust\nlet mut scraper = SciHubScraper::new();\nlet pdf_url = scraper.fetch_paper_pdf_url_by_doi(\"10.1016/j.tplants.2018.11.001\").await?;\nprintln!(\"PDF Url = {}\", pdf_url);\n```\n\n## License\nLicensed under MIT license ([LICENSE](https://github.com/OpenByteDev/SciHub-Scraper/blob/master/LICENSE) or http://opensource.org/licenses/MIT)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenbytedev%2Fscihub-scraper","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenbytedev%2Fscihub-scraper","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenbytedev%2Fscihub-scraper/lists"}