The hostname should not include "https://" in it, here's an example of another TLD from the file:
{"zone": ".com", "host": "whois.verisign-grs.com"},
the host should be the whois server for the TLD. You'll need to add a line for each extension. I tried to find what the whois server is for .pk, but they seem to have implemented something non-standard, a webpage lookup essentially than a true whois.
However, I did a test with whois.pknic.net.pk and I got a response, so I would suggest trying it with that hostname.
# jwhois -h whois.pknic.net.pk domain.pk
[Querying whois.pknic.net.pk]
[whois.pknic.net.pk]
# WHOIS .PK Domains (PKNIC)
Domain: domain.pk
Status: Domain is Registered
Creation Date: 2006-01-20
Expiry Date: 2026-01-20
Name Server: carol.ns.cloudflare.com
Name Server: johnny.ns.cloudflare.com
Name Server:
Name Server:
So maybe something like this might work:
{"zone": ".pk", "host": "whois.pknic.net.pk"},