Skip to content

Commit

Permalink
Merge pull request #3 from AlbertoCuadra/develop
Browse files Browse the repository at this point in the history
Update: typo
  • Loading branch information
AlbertoCuadra authored May 13, 2023
2 parents 2d748e9 + c896ba1 commit dd4a4cf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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.
Expand Down

0 comments on commit dd4a4cf

Please # to comment.