from urllib.request import urlopen
schema_url = 'https://oembed.com/providers.json'
print(urlopen(schema_url).read())
Fails with error showing strack trace and paths
b'<br />\n<b>Fatal error</b>: Uncaught Error: Call to undefined function yaml_parse_file() in /var/www/html/oembed.com/www/json.php:14\nStack trace:\n#0 {main}\n thrown in <b>/var/www/html/oembed.com/www/json.php</b> on line <b>14</b><br />\n'
Fails with error showing strack trace and paths