Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
gofile.io
#7
I notice after posting that I have copied wrong code. After that I need to wait for 24 hours to correct it. here it is

Code:
function gofileBulkCheck()
            {

                var arr = this.links[0].split("\r\n");
                var arrlen = arr.length;
                var token;
                    GM_xmlhttpRequest
                    (
                        {
                    method: 'GET',
                    url: 'https://api.gofile.io/createAccount',
                    headers: {
                        'User-agent': 'Mozilla/4.0 [en] (Windows NT 6.0; U)',
                        'Content-type': 'application/x-www-form-urlencoded',
                        'Referer': ''
                    },
                    onload: function(result)
                            {
                                var resp = JSON.parse(result.responseText);
                                token = resp.data.token;
                                while(arrlen--)
                                {
                                    postRequest(arr[arrlen], token);
                                }
                            }
                        }
                    );
                function postRequest(gofileLink,token)
                {
                    var linkId = gofileLink.match(/gofile\.io\/d\/(\w+)/)[1];

                    GM_xmlhttpRequest
                    (
                        {
                            method: "GET",
                            url: 'https://api.gofile.io/getContent?contentId=' + linkId + '&token=' + token + '&websiteToken=12345',

                            onload: function (result)
                            {

                                var res = JSON.parse(result.responseText);
                                if (res.status=="ok")
                                {
                                    DisplayTheCheckedLinks([gofileLink], 'alive_link');
                                    return;
                                }

                                if (res.status=='error-notFound')
                                {
                                    DisplayTheCheckedLinks([gofileLink], 'adead_link');
                                    return;
                                }
                            }
                        }
                    );
                }
            }
Reply


Messages In This Thread
gofile.io - by frtgs - 08-11-2022, 11:03 AM
RE: gofile.io - by mental - 08-13-2022, 02:23 AM
RE: gofile.io - by frtgs - 08-23-2022, 01:02 AM
RE: gofile.io - by mental - 08-23-2022, 03:16 AM
RE: gofile.io - by tgs - 03-03-2023, 12:23 PM
RE: gofile.io - by mental - 03-04-2023, 12:47 AM
RE: gofile.io - by tgs - 03-04-2023, 12:25 PM
RE: gofile.io - by mental - 03-05-2023, 04:32 AM
RE: gofile.io - by tgs - 03-05-2023, 05:39 PM
RE: gofile.io - by mental - 03-05-2023, 08:15 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)