Tishacy / SciDownl

An unofficial api for downloading papers from SciHub via DOI, PMID, title
MIT License
206 stars 43 forks source link

scidownl is not working; gives a statuscode 403 #29

Open MrUnknown789556 opened 3 months ago

MrUnknown789556 commented 3 months ago

When I try to use <"scidownl", I get an error: status_code=403, content_length=747

######################

C:\Users\fn31>scidownl download --doi https://doi.org/ 10.1016/j.compstruct.2021.113663 --scihub-url http://sci-hub.st Usage: scidownl download [OPTIONS]

Error: Got unexpected extra argument (10.1016/j.compstruct.2021.113663)

C:\Users\fn31>scidownl download --doi https://doi.org/10.1016/j.compstruct.2021.113663 --scihub-url http://sci-hub.st [INFO] | 2024/07/11 21:06:12 | Run scihub tasks. Tasks information: [INFO] | 2024/07/11 21:06:12 | DOI(s): ['https://doi.org/10.1016/j.compstruct.2021.113663'] [INFO] | 2024/07/11 21:06:12 | Output: C:\Users\fn31 [INFO] | 2024/07/11 21:06:12 | SciHub Url: http://sci-hub.st [INFO] | 2024/07/11 21:06:12 | Choose the scihub url: http://sci-hub.st [INFO] | 2024/07/11 21:06:12 | <- Request: scihub_url=http://sci-hub.st, source=DoiSource[type=doi, id=doi.org/10.1016/j.compstruct.2021.113663], proxies={} [INFO] | 2024/07/11 21:06:12 | -> Response: status_code=403, content_length=747 [ERROR] | 2024/07/11 21:06:12 | final status: crawling_failed, error: Error occurs when crawling source: DoiSource[type=doi, id=doi.org/10.1016/j.compstruct.2021.113663] [INFO] | 2024/07/11 21:06:12 | Choose the scihub url: http://sci-hub.st [INFO] | 2024/07/11 21:06:12 | <- Request: scihub_url=http://sci-hub.st, source=DoiSource[type=doi, id=doi.org/10.1016/j.compstruct.2021.113663], proxies={} [INFO] | 2024/07/11 21:06:12 | -> Response: status_code=403, content_length=747 [ERROR] | 2024/07/11 21:06:12 | final status: crawling_failed, error: Error occurs when crawling source: DoiSource[type=doi, id=doi.org/10.1016/j.compstruct.2021.113663]

######################

1) What do I do wrong? 2) Is it possible, to get a list of status codes, and their meanings?