From c896ba1850f778573c49c41e8ff9d8582d041e0c Mon Sep 17 00:00:00 2001 From: Alberto Cuadra Lara Date: Sat, 13 May 2023 11:40:22 +0200 Subject: [PATCH] Update: typo --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 35e0d26..9ecec0c 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ The DOI Scraper is a Python script that reads a `.bib` file, searches for articl 2. Install the required dependencies by running the following command: ```shell - pip install requests +pip install requests ``` # Usage @@ -24,16 +24,16 @@ Place your input `.bib` file in the same directory as the `doi_scraper.py` scrip Open the `doi_scraper.py` file and modify the following variables according to your needs: ```python - input_file = 'input.bib' # Name of the input .bib file - output_file = 'output.bib' # Name of the output .bib file - INDENT_PRE = 4 # Number of spaces before the field name - INDENT_POST = 16 # Number of spaces after the field name +input_file = 'input.bib' # Name of the input .bib file +output_file = 'output.bib' # Name of the output .bib file +INDENT_PRE = 4 # Number of spaces before the field name +INDENT_POST = 16 # Number of spaces after the field name ``` Run the script using the following command: ```shell - python doi_scraper.py +python doi_scraper.py ``` The script will search for articles without a DOI and retrieve the missing DOIs using the Crossref API. It will then update the output .bib file with the retrieved DOIs.