From 71e247740e9ea96055eef7842cd44fda421b45f7 Mon Sep 17 00:00:00 2001 From: jack Date: Sun, 28 Jan 2018 20:27:56 +0800 Subject: [PATCH 1/2] fix scihub-cc not found problem --- scihub2pdf/download.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scihub2pdf/download.py b/scihub2pdf/download.py index 0b6e1c2..b49ba17 100755 --- a/scihub2pdf/download.py +++ b/scihub2pdf/download.py @@ -39,7 +39,7 @@ xpath_pdf = "//*[@id='pdf']" xpath_input = "/html/body/div/table/tbody/tr/td/form/input" xpath_form = "/html/body/div/table/tbody/tr/td/form" -domain_scihub = "http://sci-hub.cc/" +domain_scihub = "http://80.82.77.83/" ScrapSci = SciHub(headers, xpath_captcha, From d5c71fc14941ba689aaadb531ecc08669e8b37fc Mon Sep 17 00:00:00 2001 From: jack Date: Sun, 28 Jan 2018 20:28:53 +0800 Subject: [PATCH 2/2] fix sci-hub.cc not found problem --- scihub2pdf/scihub.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scihub2pdf/scihub.py b/scihub2pdf/scihub.py index 30568b0..413c734 100755 --- a/scihub2pdf/scihub.py +++ b/scihub2pdf/scihub.py @@ -23,7 +23,7 @@ def __init__(self, xpath_pdf="//*[@id='pdf']", xpath_input="/html/body/div/table/tbody/tr/td/form/input", xpath_form="/html/body/div/table/tbody/tr/td/form", - domain_scihub="http://sci-hub.cc/", + domain_scihub="http://80.82.77.83/", ): self.xpath_captcha = xpath_captcha