Tuesday, 2 June 2020

Downloading a file that is downloaded in response to a request upon clicking a link...

I have a link that Facebook allows you to click to download some analytics. The link actually shoots off a request which then, in the network tab, displays another link. This request URL is the final URL that is the .csv file and usually looks something like this:https://scontent-lhr8-1.xx.fbcdn.net/v/t66.17308-6/51263895_276235393523213_744341493371433664_n.csv?_nc_cat=102&_nc_sid=eb2ba2&_nc_ohc=-xb3LC_Zl2kAX9qFYAn&_nc_ht=scontent-lhr8-1.xx&oh=7b09ae99c82b91179bb355dfa0450a30&oe=5EFC8646When visiting that link, I'm able to download the file as well, but it isn't the most up-to-date version of the analytics file. My question is this: How does one download the most up to date version of the file with Node.js?

Submitted June 02, 2020 at 11:35PM by leafyshark

No comments:

Post a Comment