Batch download patents and/or applications from worldwide.espacenet.com. NO NEED FOR EPO OPS.
written by lancer1911
May 20, 2018
Usage:
python epo_download.py option PatentNumber
option: -n, or -l
PatentNumber: [-n] patent numbers seperated by comma, or [-l] text file
Examples:
Example 1: python epo_download.py -n WO2009012346,CN101208412A,WO2009012347A1
Example 2: python epo_download.py -l list.txt
content of list.txt:
WO2009012346
CN101208412A
WO2009012347A1
Python 3 for Mac OS X
https://www.python.org/downloads/mac-osx/
Brew, if not installed
https://brew.sh/
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Tesseract
brew install tesseract
ChromeDriver
http://chromedriver.chromium.org/downloads, e.g.
https://chromedriver.storage.googleapis.com/index.html?path=2.38/
extract chromedriver_mac64.zip to /usr/local/bin
Pip, if not installed
sudo easy_install pip
PIL
pip install pillow
pytesseract
pip install pytesseract
Selenium
pip install selenium
tqdm
pip install tqdm