diff --git a/retrosheet/src/main/kotlin/com/github/theapache64/retrosheet/RetrosheetInterceptor.kt b/retrosheet/src/main/kotlin/com/github/theapache64/retrosheet/RetrosheetInterceptor.kt index e025eb2..41928b9 100644 --- a/retrosheet/src/main/kotlin/com/github/theapache64/retrosheet/RetrosheetInterceptor.kt +++ b/retrosheet/src/main/kotlin/com/github/theapache64/retrosheet/RetrosheetInterceptor.kt @@ -233,7 +233,9 @@ private constructor( ).build() if (isLoggingEnabled) { - println("$TAG : GET --> $realUrl") + val sanitizedUrl = realUrl.replace(" ", "%20") + println("$TAG : GET --> $sanitizedUrl") + println("$TAG : GET (html) --> ${sanitizedUrl.replace("tqx=out:csv", "tqx=out:html")}") } val csvRequest = request.newBuilder() .url(realUrl)