TypeError: Invalid URL: 'https://%25%7bSERVER_NAME%7d/' with base 'http://www.bipm.org/utils/en/pdf/structure.pdf'