Convert articles on the Economist to PDF
DISCLAIMER: This program is FOR EDUCATIONAL PURPOSE ONLY. Do not distribute the output files, and immediately delete them after browsing.
Usage: main.py [OPTIONS] The program converts articles on the Economist to PDF. It reads URLs from <stdin> in format "<URL>\n<URL>\n<URL>\n..." Options: -d, --dir= Local directory to store output file -p, --http-proxy= HTTP proxy to fetch article, e.g. http://[username:password@]hostname:port -t, --text-only Output text-only PDF -v, --verbose Print user-friendly message -q, --quiet Redirect -h, --help Show help message
PS: The program depends on python library fpdf2. Install by executing:
pip install fpdf2