Replace per-request requests.get/post with a shared Session for connection reuse. Remove verbose print statements and add structured [WARN] prefixes to error logs.