From cfd93bfa089e9ba3c359a24ad13c3fc8e686fa63 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 26 Dec 2014 22:46:49 -0600 Subject: [PATCH] call get links and specify only direct_download link. that is all we should need (for now) --- mfapi/apicalls/file_get_links.c | 1 + 1 file changed, 1 insertion(+) diff --git a/mfapi/apicalls/file_get_links.c b/mfapi/apicalls/file_get_links.c index 698afa4..826cc82 100644 --- a/mfapi/apicalls/file_get_links.c +++ b/mfapi/apicalls/file_get_links.c @@ -55,6 +55,7 @@ int mfconn_api_file_get_links(mfconn * conn, mffile * file, for (i = 0; i < mfconn_get_max_num_retries(conn); i++) { api_call = mfconn_create_signed_get(conn, 0, "file/get_links.php", "?quick_key=%s" + "&link_type=direct_download" "&response_format=json", quickkey); if (api_call == NULL) { fprintf(stderr, "mfconn_create_signed_get failed\n");