Dns errors with youtube?

apparently hf spaces lost access to youtube for some reason
not sure if youtube is specifically blocking the calls or is it something else?
for example i run a simple script and it shows me :
{
“detail”: “Error searching video by title: ERROR: Unable to download API page: <urllib3.connection.HTTPSConnection object at 0x7fd08f2b35c0>: Failed to resolve ‘www.youtube.com’ ([Errno -5] No address associated with hostname) (caused by TransportError("<urllib3.connection.HTTPSConnection object at 0x7fd08f2b35c0>: Failed to resolve ‘www.youtube.com’ ([Errno -5] No address associated with hostname)"))”
}
it also applies to all spaces
any space that has a youtube transcription ,download or anything related to youtube will show the same error
is it a temporary thing or is there a workaround ?

Same here on HF space… What’s going on…?

same issue with discord api on HF Spaces

Also with some other URLs.

same here with telegram api, it’s not working

This is intended behavior, huggingface will start cracking down on external requests as the majority of users have been abusing it.

Response of HF staff: