Skip to content

Hyperlink DOIs to preferred resolver #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
318 changes: 159 additions & 159 deletions download-citation/2018-12-13-22-18-39.ris

Large diffs are not rendered by default.

238 changes: 119 additions & 119 deletions download-citation/2018-12-13.ris

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion download-citation/pa.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def royal(url):
citation_doi = bsop.find('meta', {'name':'citation_doi'}).attrs['content']
PB = bsop.find('meta', {'name':'DC.publisher'}).attrs['content']
M3 = citation_doi
citation_url = 'http://dx.doi.org/' + citation_doi
citation_url = 'https://doi.org/' + citation_doi
citation_abstract = bsop.find('meta', {'name':'citation_abstract'}).attrs['content'].strip()
SN = bsop.find('div', {'class':'article-nav__issue autopad--h'}).find('a').attrs['href'].split('=')[-1]

Expand Down
2 changes: 1 addition & 1 deletion download-citation/pa1.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def royal(article_urls):
except:
pass
try:
citation_url = 'http://dx.doi.org/' + citation_doi
citation_url = 'https://doi.org/' + citation_doi
except:
pass
try:
Expand Down
50 changes: 25 additions & 25 deletions download-citation/ros.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions download-citation/springer.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def royal(article_urls):
except:
pass
try:
citation_url = 'http://dx.doi.org/' + citation_doi
citation_url = 'https://doi.org/' + citation_doi
except:
pass
try:
Expand Down Expand Up @@ -159,4 +159,4 @@ def crawl_article_url(nums):
nums = 1 # 爬取的页数

article_urls = crawl_article_url(nums)
royal(article_urls)
royal(article_urls)
2 changes: 1 addition & 1 deletion some/pa.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def royal(url):
citation_doi = bsop.find('meta', {'name':'citation_doi'}).attrs['content']
PB = bsop.find('meta', {'name':'DC.publisher'}).attrs['content']
M3 = citation_doi
citation_url = 'http://dx.doi.org/' + citation_doi
citation_url = 'https://doi.org/' + citation_doi
citation_abstract = bsop.find('meta', {'name':'citation_abstract'}).attrs['content'].strip()
SN = bsop.find('div', {'class':'article-nav__issue autopad--h'}).find('a').attrs['href'].split('=')[-1]

Expand Down
2 changes: 1 addition & 1 deletion some/pa1.py
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ def royal(article_urls):
except:
pass
try:
citation_url = 'http://dx.doi.org/' + citation_doi
citation_url = 'https://doi.org/' + citation_doi
except:
pass
try:
Expand Down
4 changes: 2 additions & 2 deletions some/springer.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def royal(article_urls):
except:
pass
try:
citation_url = 'http://dx.doi.org/' + citation_doi
citation_url = 'https://doi.org/' + citation_doi
except:
pass
try:
Expand Down Expand Up @@ -159,4 +159,4 @@ def crawl_article_url(nums):
nums = 1 # 爬取的页数

article_urls = crawl_article_url(nums)
royal(article_urls)
royal(article_urls)