Just Whitelist the domain. You can do this either through the web interface or command line. In this case, the command you would issue would be pihole -w thepiratebay.org
Additionally, you can query the source list of a domain by
Again this can also be done from both the web user interface or command line. You can learn more about these commands and more here.