Skip to content

v1.1.0 — Modular release

Choose a tag to compare

@omerdocs omerdocs released this 18 Jul 18:51
· 4 commits to main since this release

Architecture

  • Project restructured from a single script into a Python package:
    config, utils, ui, state, network, warmer, runner, cli.
  • Two entry points: python3 lscw.py ... or python3 -m lscw ...

Fixed

  • Checkpoint now records every completed URL (previously ~90% of
    progress could be lost on interruption); file writes are atomic.
  • Ctrl+C is handled gracefully: progress saved, exit code 130,
    continue with --resume.
  • Adaptive delay is now enforced in parallel mode (--workers > 1);
    submissions are throttled so workers cannot stampede the server.
  • One HTTP session per worker thread (previously one per URL) and
    all sessions are closed on exit.
  • HTTP 4xx/5xx responses (including 429) are treated as failures,
    excluded from the checkpoint and sent to the auto-retry pass.
  • Retry results replace the originals, so summary stats are no
    longer double-counted.
  • Crashed worker threads are recorded as errors instead of
    silently disappearing.

Security

  • URLs that do not belong to the --site host are filtered out;
    a malicious or misconfigured sitemap can no longer make the tool
    send requests to third-party domains.
  • Off-site redirects are detected and skipped (ext →).
  • Rich markup / terminal escape injection via URLs is prevented.
  • Self-defeating Cache-Control: no-cache request headers removed.

Added

  • --sitemap-ua {googlebot,browser} option for sitemap fetching.
  • Gzip-compressed sitemap support (.xml.gz), CDATA and XML-entity
    handling, and a 200-document crawl safety cap.
  • Pre-flight check now aborts on any 4xx with a WAF hint on 401/403.
  • Summary reports mobile buckets separately and counts HTTP 429
    responses.

UI

  • Terminal interface redesigned: titled minimal panels (config,
    Progress, Recent results, Summary), semantic-only colors, live
    desktop + mobile counters, per-URL five-phase result columns.