Keep2Share Promotion [Old]

Status
Not open for further replies.
Mar 28, 2008
740
312
Or you could make sure your links don't get picked up by a bot by using some kind of intermediary website to mask the real links, works really well for me since all my non ryushare mirrors only lasted a few days before and now they expire only when people don't download them.

And people won't be able to find k2s links older than about a week because its only been the sponsor for 10 days.
Was referring to the long run.

So you are saying bots are becoming self aware :huh:
shinigamie, SamKook,

Did I miss reading something? What's this about a week? I don't understand but have the feeling I had better. :huh:
I dont know, posts are missing bots are taking over.

No i was talking about the long run of k2s and how links arent lasting long and samkook took it as a now this isnt thing or something.

Either that or maybe you saw a post that is no longer there? :huh:
 
  • Like
Reactions: 1 person

SamKook

Grand Wizard
Staff member
Super Moderator
Uploader
May 10, 2009
3,758
5,159
I'm saying there are bots made specifically for crawling the web and reporting the links they find and that it's been affecting other hosts for a while except for ryushare, but I'm guessing it's because they ignored them which is not a good thing to do(well, the result is good for us, but not in the long run).
 
  • Like
Reactions: 1 person

SamKook

Grand Wizard
Staff member
Super Moderator
Uploader
May 10, 2009
3,758
5,159
Maybe, it depends how the bot is programmed(it's not like they advertise this kind of thing), but that might simply be to prevent the ddl sites to know about them since when you click a link, the website it goes too can see the website the link was launched from.
So for example, keep2share can know every links that people clicked on in akiba-online if they so desire.

Some forums also do this(put them as text inside a code tag for example) to be able to hide the links from unregistered users which will help prevent bots from seeing them.
 
  • Like
Reactions: 1 person

Casshern2

Senior Member...I think
Mar 22, 2008
7,018
14,455
I can't keep up this uploading anyway. I don't know how they find the time. I'll probably call it quits except for the occasional request reply. My hats off to you! And thanks for your replies.
 

SamKook

Grand Wizard
Staff member
Super Moderator
Uploader
May 10, 2009
3,758
5,159
That's why I created a bunch of scripts. I can reupload something in a drag and drop(I then need to fill up a file with some infos about the movie, but that's because I want it for my personal collection) and 2 double-clicks. Then all I have to do is upload the pictures to akiba and paste a text file with all the infos and links.
My only problem is that the keep2share API doesn't give me the links in the reverse date order they were uploaded so it is very problematic unless they can fix it or at least add an option for doing this.

If I had to do all that encoding and reuploading manually, I would have given up long ago.
 

SamKook

Grand Wizard
Staff member
Super Moderator
Uploader
May 10, 2009
3,758
5,159
.bat files.
You can see an older version of the encoding and FTP uploading part if you click "Auto Encoding to Posting v1.2" in my sig, but it's changed a lot since then and it doesn't have the link grabbing part.

I can rebuild the link fine, the problem is that, if I upload a movie in 2 parts for example, one part could be returned as the second link and the other as the 157th.

I also have to tell the API how many links I want and can't tell it to return all of them so I have no guarantee it's going to send me the links I need in the number of results I tell it to.
There's no way to know how many links in total I have in my account, and if I do a second request by asking it to skip a few items, I have no guarantee it's going to send me all new links, even if I told it to skip the number of links I requested in the first request.
So getting the file list is pretty much broken and useless in its current form and since the site is full of javascript, I also can't get the info directly from the webpage like I did with other sites without an API.

Also, everything is returned in one line so I have to separate the links in multiple lines first and I'm limited to 30 or so items because I use a bat file so it makes things even more complicated.
 

GeffG

New Member
Apr 7, 2014
26
23
Keep2share.cc start to accept new payment method!
Now we accept not only Visa, MasterCard but also: JCB, UnionPay
 

Casshern2

Senior Member...I think
Mar 22, 2008
7,018
14,455
.bat files.
You can see an older version of the encoding and FTP uploading part if you click "Auto Encoding to Posting v1.2" in my sig, but it's changed a lot since then and it doesn't have the link grabbing part.

I can rebuild the link fine, the problem is that, if I upload a movie in 2 parts for example, one part could be returned as the second link and the other as the 157th.

I also have to tell the API how many links I want and can't tell it to return all of them so I have no guarantee it's going to send me the links I need in the number of results I tell it to.
There's no way to know how many links in total I have in my account, and if I do a second request by asking it to skip a few items, I have no guarantee it's going to send me all new links, even if I told it to skip the number of links I requested in the first request.
So getting the file list is pretty much broken and useless in its current form and since the site is full of javascript, I also can't get the info directly from the webpage like I did with other sites without an API.

Also, everything is returned in one line so I have to separate the links in multiple lines first and I'm limited to 30 or so items because I use a bat file so it makes things even more complicated.

That is some documentation you have there, my friend! I'll have to dig through their API docs as I don't understand the "one part could be returned as the second link and the other as the 157th" thing. Thanks for the info and humoring my curiosity.

EDIT! A big one. I don't know php. :...:
 
Last edited by a moderator:

SamKook

Grand Wizard
Staff member
Super Moderator
Uploader
May 10, 2009
3,758
5,159
You don't need to know php, all you need to know is how curl works.
You execute it once to login:
Code:
"curl.exe" -sS -o "login.txt" --data "{\"username\":\"user\",\"password\":\"pass\"}" http://keep2share.cc/api/v1/login
and once to get the filelist(limit is the number of results to get)
Code:
"curl.exe" -sS --data "{\"limit\":\"100\",\"auth_token\":\"the_auth_token_from_the_first_call_that_is_inside_login.txt\"}" -o "somefile.txt" http://keep2share.cc/api/v1/GetFilesList
and the other 99 lines from my script are only to process this into something usable automatically.

Here's an example for you:
I make a request for 28 files and I get this(that was from back when I only had uploaded 28 files):
Code:
{"status":"success","code":200,"files":[{"id":"6cf7cb58fc2af","name":"MXGS-468_Xvid.r00","is_available":true,"size":"419430400"},{"id":"b11383ed513a8","name":"MXGS-468_Xvid.r02","is_available":true,"size":"24557471"},{"id":"5db96218251c1","name":"MXGS-466_small.rar","is_available":true,"size":"350515757"},{"id":"53eef20a45343","name":"MXGS-466_Xvid.r01","is_available":true,"size":"419430400"},{"id":"e4974633217b0","name":"MIRD-122_small.rar","is_available":true,"size":"419430400"},{"id":"cdf682463fef7","name":"MIRD-122_10bit.r03","is_available":true,"size":"417014717"},{"id":"3a81af8e8a65a","name":"MXGS-466_Xvid.r00","is_available":true,"size":"419430400"},{"id":"2bbc3de7c2ee2","name":"MXGS-468_10bit.r00","is_available":true,"size":"419430400"},{"id":"827a9b9656b07","name":"MIRD-122_Xvid.r02","is_available":true,"size":"419430400"},{"id":"735b47e33fb72","name":"MXGS-468_small.rar","is_available":true,"size":"341042189"},{"id":"c48fc42c5e353","name":"MXGS-468_Xvid.r01","is_available":true,"size":"419430400"},{"id":"2c3b1fa766a28","name":"MIRD-122_Xvid.r00","is_available":true,"size":"419430400"},{"id":"2b8da3fe7fe9d","name":"MXGS-466_Xvid.r02","is_available":true,"size":"34618546"},{"id":"705c1a83d738c","name":"MXGS-466_Xvid.rar","is_available":true,"size":"419430400"},{"id":"08bd54f5e1c34","name":"MIRD-122_10bit.rar","is_available":true,"size":"419430400"},{"id":"f55a7a641eeb8","name":"MIRD-122_10bit.r02","is_available":true,"size":"419430400"},{"id":"70e3475a83163","name":"MIRD-122_Xvid.rar","is_available":true,"size":"419430400"},{"id":"1937d05d34f43","name":"MIRD-122_Xvid.r01","is_available":true,"size":"419430400"},{"id":"ef98ca5c6999a","name":"MXGS-468_Xvid.rar","is_available":true,"size":"419430400"},{"id":"5f5836d5ce074","name":"MIRD-122_Xvid.r03","is_available":true,"size":"277884587"},{"id":"96514a95fd149","name":"MIRD-122_small.r00","is_available":true,"size":"201561563"},{"id":"d52cfef69e8bb","name":"MIRD-122_10bit.r01","is_available":true,"size":"419430400"},{"id":"f3a7aba7f6e15","name":"MIRD-122_10bit.r00","is_available":true,"size":"419430400"},{"id":"daf2a2e2f1627","name":"MXGS-466_10bit.r00","is_available":true,"size":"419430400"},{"id":"79158d427eb78","name":"MXGS-466_10bit.rar","is_available":true,"size":"419430400"},{"id":"450f661c8deb6","name":"MXGS-468_10bit.rar","is_available":true,"size":"419430400"},{"id":"9b7ab141e8d87","name":"MXGS-466_10bit.r01","is_available":true,"size":"298221289"},{"id":"73cd92a501aba","name":"MXGS-468_10bit.r01","is_available":true,"size":"268225660"}]}

Once processed a bit to only put one on each line it gives:
Code:
id":"6cf7cb58fc2af","name":"MXGS-468_Xvid.r00","is_available":true,"size":"419430400
id":"b11383ed513a8","name":"MXGS-468_Xvid.r02","is_available":true,"size":"24557471
id":"5db96218251c1","name":"MXGS-466_small.rar","is_available":true,"size":"350515757
id":"53eef20a45343","name":"MXGS-466_Xvid.r01","is_available":true,"size":"419430400
id":"e4974633217b0","name":"MIRD-122_small.rar","is_available":true,"size":"419430400
id":"cdf682463fef7","name":"MIRD-122_10bit.r03","is_available":true,"size":"417014717
id":"3a81af8e8a65a","name":"MXGS-466_Xvid.r00","is_available":true,"size":"419430400
id":"2bbc3de7c2ee2","name":"MXGS-468_10bit.r00","is_available":true,"size":"419430400
id":"827a9b9656b07","name":"MIRD-122_Xvid.r02","is_available":true,"size":"419430400
id":"735b47e33fb72","name":"MXGS-468_small.rar","is_available":true,"size":"341042189
id":"c48fc42c5e353","name":"MXGS-468_Xvid.r01","is_available":true,"size":"419430400
id":"2c3b1fa766a28","name":"MIRD-122_Xvid.r00","is_available":true,"size":"419430400
id":"2b8da3fe7fe9d","name":"MXGS-466_Xvid.r02","is_available":true,"size":"34618546
id":"705c1a83d738c","name":"MXGS-466_Xvid.rar","is_available":true,"size":"419430400
id":"08bd54f5e1c34","name":"MIRD-122_10bit.rar","is_available":true,"size":"419430400
id":"f55a7a641eeb8","name":"MIRD-122_10bit.r02","is_available":true,"size":"419430400
id":"70e3475a83163","name":"MIRD-122_Xvid.rar","is_available":true,"size":"419430400
id":"1937d05d34f43","name":"MIRD-122_Xvid.r01","is_available":true,"size":"419430400
id":"ef98ca5c6999a","name":"MXGS-468_Xvid.rar","is_available":true,"size":"419430400
id":"5f5836d5ce074","name":"MIRD-122_Xvid.r03","is_available":true,"size":"277884587
id":"96514a95fd149","name":"MIRD-122_small.r00","is_available":true,"size":"201561563
id":"d52cfef69e8bb","name":"MIRD-122_10bit.r01","is_available":true,"size":"419430400
id":"f3a7aba7f6e15","name":"MIRD-122_10bit.r00","is_available":true,"size":"419430400
id":"daf2a2e2f1627","name":"MXGS-466_10bit.r00","is_available":true,"size":"419430400
id":"79158d427eb78","name":"MXGS-466_10bit.rar","is_available":true,"size":"419430400
id":"450f661c8deb6","name":"MXGS-468_10bit.rar","is_available":true,"size":"419430400
id":"9b7ab141e8d87","name":"MXGS-466_10bit.r01","is_available":true,"size":"298221289
id":"73cd92a501aba","name":"MXGS-468_10bit.r01","is_available":true,"size":"268225660

The link is then formed with http://k2s.cc/file/id_here/name_here

Notice how there's 3 different movies(and 3 version of each) in there in no kind of order.
They were all uploaded in order(.rar, .r00, ...), 10bit first, then small and then Xvid, all movies one day apart and yet, the file in the first line is from the same movie as the file on the last line.

Now imagine if I could only get the first 20 results. It would be impossible to get all the links from any of the 10bit versions and one of the small which would be a pretty big problem. If they were in order, I could get all the links from the last 2 movie I uploaded.
 
Last edited by a moderator:
  • Like
Reactions: 1 person

SamKook

Grand Wizard
Staff member
Super Moderator
Uploader
May 10, 2009
3,758
5,159
Not quite, you can't do all, you have to set a number(the default is 100) and it will get as many random files as that number. You can get all if you know how many files you have and set "limit" to that number or something higher.

Hopefully they'll change that though since it doesn't make any sense and either return them properly sorted by default or add a sort parameter on the date with "off","ascending" and "descending" value.
 
  • Like
Reactions: 1 person

SamKook

Grand Wizard
Staff member
Super Moderator
Uploader
May 10, 2009
3,758
5,159
Random as in if you have 1500 files up and you use 100 as the value you may not get all of the last ones you uploaded? You'd have to request the entire 1500?

Exactly.
 

Casshern2

Senior Member...I think
Mar 22, 2008
7,018
14,455
#CRIPES!

You'd have to always get ALL by requesting a number above your known file count (if possible) and reference something that lists the files you've already posted to exclude those before you can sort the remaining to create the k2c links correctly for the files you haven't posted yet.
 

SamKook

Grand Wizard
Staff member
Super Moderator
Uploader
May 10, 2009
3,758
5,159
CRIPES indeed.

That first part yes, for the second, I take the approach of making a list of the files(it's searching for all the rar files in a folder since my uploads are all in separated folders) and then search for them in the list. It's easier than eliminating everything already posted.
Then I have a script to sort them in my desired order(.rar first, then alphabetical) and another to send them to the safelink.strike-up API so they don't get deleted a couple of days after being posted and write the links formatted as I wish in a text file.
 
  • Like
Reactions: 1 person

poppey6628

Well-Known Member
Jul 29, 2013
85
394
Is anyone know how to receive payment from k2s? I could not find any place to set the payment method. Can I receive payment throught WedMoney?
 
  • Like
Reactions: 1 person
Status
Not open for further replies.