articledownloader.articledownloader module¶
-
class
articledownloader.articledownloader.
ArticleDownloader
(els_api_key=None, crf_api_key=None, timeout_sec=30)[source]¶ -
check_els_entitlement
(*args, **keywords)[source]¶ Checks entitlement for fulltext downloads on Elsevier’s API
Parameters: doi (str) – Document Object Identifier (DOI) for the paper we are checking Return type: bool Returns: Whether or not we can download the article (True = Yes, No = False)
-
get_abstract_from_doi
(*args, **keywords)[source]¶ Returns abstract as a unicode string given a DOI
Parameters: Returns: An abstract (or None on failure)
Return type:
-
get_dois_from_journal_issn
(*args, **keywords)[source]¶ Grabs a set of unique DOIs based on a journal ISSN using the CrossRef API
Parameters: Returns: the unique set of DOIs as a list
Return type: list
-
get_dois_from_search
(*args, **keywords)[source]¶ Grabs a set of unique DOIs based on a search query using the CrossRef API
Parameters: Returns: the unique set of DOIs as a list
Return type: list
-
get_html_from_doi
(*args, **keywords)[source]¶ Downloads and writes an HTML article to a file, given a DOI and operating mode
Parameters: Returns: True on successful write, False otherwise
Return type:
-
get_pdf_from_doi
(*args, **keywords)[source]¶ Downloads and writes a PDF article to a file, given a DOI and operating mode
Parameters: Returns: True on successful write, False otherwise
Return type:
-