Giter Club home page Giter Club logo

bib_collector's Introduction

Bib Collector

A simple python program to collect BibTeX info from Google Scholar and slim the bib files.

  1. Install selenium

pip install selenium==4.9.1

  1. Install Chrome/Chromium and Chrome driver

  2. Modify settings in collect.py:

    input_file = 'paper_list.txt'

    output_file = 'links.txt'

    output_bib_file = 'bib.txt'

    chromedriver_path = "your_customized_driver_path"

  3. Run in terminal

    • Add the paper titles to input_file line by line.
    • Run the following code:

    python collect.py

  4. Exception

    • After some running, the program may be interrupted by Google. Run the following line to continue to collect from line xxx

    python collect.py xxx

  5. Demo: Alt text

  6. Further Improvements:

    • You can also slim your bib files such as removing unnecessary fields, and formatting the conference abbreviation by running the script slim.py .
      • Before slim:
        @inproceedings{dong2020adversarial,
        author = {Yinpeng Dong and
        Zhijie Deng and
        Tianyu Pang and
        Jun Zhu and
        Hang Su},
        bibsource = {dblp computer science bibliography, https://dblp.org},
        biburl = {https://dblp.org/rec/conf/nips/DongDP0020.bib},
        booktitle = {Advances in Neural Information Processing Systems 33: Annual Conference on Neural Information Processing Systems 2020, NeurIPS 2020, December
        6-12, 2020, virtual},
        editor = {Hugo Larochelle and
        Marc'Aurelio Ranzato and
        Raia Hadsell and
        Maria{-}Florina Balcan and
        Hsuan{-}Tien Lin},
        timestamp = {Tue, 19 Jan 2021 00:00:00 +0100},
        title = {Adversarial Distributional Training for Robust Deep Learning},
        url = {https://proceedings.neurips.cc/paper/2020/hash/5de8a36008b04a6167761fa19b61aa6c-Abstract.html},
        year = {2020}
        }
        
      • After slim:
        @inproceedings{dong2020adversarial,
        title = {Adversarial Distributional Training for Robust Deep Learning},
        author = {Yinpeng Dong and Zhijie Deng and Tianyu Pang and Jun Zhu and Hang Su},
        booktitle = {NeurIPS 2020},
        year = {2020}
        }
        
    • The link to the papers is stored and you can download the papers in PDF format by running

      python download_papers.py

bib_collector's People

Contributors

shawkui avatar

Stargazers

mdzhang avatar  avatar Hongrui CHEN avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.