This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Looks for a DOI in Sci-Hub and downloads the PDF if available. | |
""" | |
import argparse | |
import re | |
import requests | |
from bs4 import BeautifulSoup | |
SCIHUBURL = 'https://sci-hub.now.sh/' # URL to get all valid Sci-Hub domain alternatives |