项目作者: hughug

项目描述 :
A bibtex scraper from command line
高级语言: Shell
项目地址: git://github.com/hughug/bib-crawler.git
创建时间: 2017-09-17T17:45:10Z
项目社区:https://github.com/hughug/bib-crawler

开源协议:

下载


bib-crawler

A bibtex scraper from command line

alt text

0. Dependencies

Python modules requests, BeautifulSoup4 are required.

To install dependencies, do

  1. pip install requests
  2. pip install beautifulsoup4

1. Usage

The script bib-scrawler.sh searches inspirehep and returns the bibtex, given the title or eprint number of a paper. If a local .bib file is present, it will also ask if you wish to save the bibtex to the file.

To start using the script, source first

  1. source bib-crawler.sh

Then you are ready to use the commands bibit and biball.

1.1 bibit

For most common usages, bibit is recommended because it is fast.

  • Search using the eprint number (arXiv) number of a paper

    1. bibit -e 1707.05319
  • Search using the title of a paper, for instance, “on black hole entropy”

    1. bibit -t on black hole entropy

1.2 biball

If bibit does not return the correct bib entry, this means more than one records have been found. Then biball should be used.

  • Search using the eprint number (arXiv) number of a paper

    1. biball -e 1707.05319
  • Search using the title of a paper

    1. biball -t on black hole entropy

That’s it!

X. License

This software comes with ABSOLUTELY NO WARRANTY. This is a free software, and you are welcome to redistribute it under certain conditions. See the General Public License for details.