mirror of
https://github.com/xorgy/mediafire-fuse
synced 2026-01-13 13:14:29 -08:00
call get links and specify only direct_download link. that is all we should need (for now)
This commit is contained in:
@@ -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++) {
|
for (i = 0; i < mfconn_get_max_num_retries(conn); i++) {
|
||||||
api_call = mfconn_create_signed_get(conn, 0, "file/get_links.php",
|
api_call = mfconn_create_signed_get(conn, 0, "file/get_links.php",
|
||||||
"?quick_key=%s"
|
"?quick_key=%s"
|
||||||
|
"&link_type=direct_download"
|
||||||
"&response_format=json", quickkey);
|
"&response_format=json", quickkey);
|
||||||
if (api_call == NULL) {
|
if (api_call == NULL) {
|
||||||
fprintf(stderr, "mfconn_create_signed_get failed\n");
|
fprintf(stderr, "mfconn_create_signed_get failed\n");
|
||||||
|
|||||||
Reference in New Issue
Block a user