Skip to content

Instantly share code, notes, and snippets.

@DMHYT
DMHYT / yunzhan.py
Last active February 12, 2026 15:51
yunzhan365.com PDF downloader
# 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