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
| # Fetches yunzhan365.com book contents and saves it to PDF. | |
| # Really slow but I just wanted to make this work in any way. | |
| # Third-party modules: requests, selenium, pillow | |
| # Usage: python yunzhan.py <needed yunzhan book url> | |
| from io import BytesIO | |
| from json import dumps, loads | |
| from math import floor | |
| import requests |