'Cant make requests to googlevideo.com
so this might sound dumb, but I was wanting to make requests to googlevideo.com sites (as in https:// rr3---sn-nx57ynsl.googlevideo.com/ for example) but it it never goes through with the request, and stays idle until it eventually returns with no data. It only happens in a Node instance, but in the browser the request works just fine
the download url is just a 1mb mp3 file, less than 1mb in size. the request should return binary data of the audio, but again, it never finishes it.
Here's my code:
request({url:downloadUrl, encoding:null}, function (error, response, body) {
//code that is never reached
console.log(body); //should be binary data
});
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
