Direct download link from this website?

Hi everyone!

I need to download a “.CSV” from this JavaScript Website (see attached screenshot).

Is it possible to get a direct URL download link?
(without having to go to the website “manually” and click twice)

I need a direct download link for my C# program…

Thanks & Happy new year!

Standard Disclaimer: It is illegal for you to copy data from this website for use in anything other than personal and private usage, including but not limited to reproduction on another website, as per the terms and conditions of the site you are referencing.

The URL for the link you have shown should be generated into the javascript console when you click it, because it generates a Document with a mime type that Javascript throws a Warning level event on.

!!! What makes it possible for you to accuse me FOR FREE WITHOUT ANY PROOF OF MY INTENTIONS?
Don’t you think the least courtesy is to ASK BEFORE you make it look like a bad intention? (and make me look like a crook!)

I’m a trader and I need this information for my PERSONAL AND PRIVATE USAGE in my C# algorithm.

Thank you

I suspect that pasting a screenshot of their website counts when it comes to “including but not limited to reproduction on another website”

On the other matter, frequently here we see people here wanting to help automate their job, which I think that @m_hutley was trying to get out ahead of too.

1 Like

Thanks Paul, I understand the reason now! I agree, maybe I should have better described the manual download procedure instead of a screenshot. I just wanted to make it easier to explain: an image is worth a thousand words…
I would appreciate any help, I don’t even know if it’s possible or not ??
I can help with investments :slight_smile:

I think automating the downloading of CSV is not what you want to do. The site provides an API. There is even a C# example here
http://api.fxstreet.com/Security/SecurityV2

    var restClient = new RestClient("https://authorization.fxstreet.com/token");
    var request = new RestRequest(Method.POST) { RequestFormat = DataFormat.Json };
    
    request.AddHeader("Content-Type", "application/x-www-form-urlencoded");
    request.AddParameter("grant_type", "client_credentials");
    request.AddParameter("client_id", "{YOUR_CLIENT_PUBLICKEY}");
    request.AddParameter("client_secret", "{YOUR_CLIENT_PRIVATEKEY}"); 
2 Likes

Thanks! Doesn’t seem very easy but I’ll do my best to understand how it works… (My C# level is pretty low for now…)

1 Like

… these two parts of a sentence do not agree with each other under most definitions of law. A trader using information for trading is a business use.

But yes, it was a Standard Disclaimer because I dont know your use case, and that it is best to inform people of the potential wrongdoing before they make an unknowing mistake.

If I was actually accusing you of doing it, I wouldn’t have helped you.

Yes, MY business, I don’t work for anybody, so mind your OWN business, you are 100% wrong in my case, moreover, this thread is about JavaScript, NOT about LAW.
So what is your problem with what I’m doing? The website allow people to download their data in a .CSV format for free. They also provide API!..

There is a distinction between personal and business use. Personal use means that you aren’t going to use the information to make money for yourself, business use means that you are wanting to use it for your own financial gain.

From what I’ve been hearing here, this looks to be in the latter case.

Some of us here get twitchy about expensive lawyers with very thin briefcases.

Not to mention that this question is being asked in a public forum and can be read by anyone, therefore the disclaimer is given so that ANYONE who reads this thread, not just the original question asker, is aware of the potential legal ramifications.

It’s also a CYA measure for us - If someone misuses the advice we give about how to accomplish the task, and gets sued, they could say “Well I read it on this forum” and potentially make us accomplices in the violation. The disclaimer therefore protects me from this outcome because I can simply point to it and say “I told them not to violate the ToS.”

2 Likes