Files
wutheringwaves/scrape.py
Joakim Hellsén a09ea0bd9a Use anyio.Path for async filesystem ops, tighten formatting, and harden mdformat
- Switch to anyio.Path for non-blocking filesystem operations (mkdir, glob)
  so article directory creation and listing are async-friendly.
- Replace blocking sync glob with an async comprehension to build existing_files.
- Harden mdformat usage: call formatter inside try/except and fall back to
  unformatted markdown on error to avoid crashes from unsupported options.
- Set logging to DEBUG for more verbose output during runs.
- Miscellaneous cleanups: reformat imports/long lists, collapse multi-line
  constructs, and simplify timestamp parsing/formatting.
2025-11-04 22:11:59 +01:00

27 KiB