Rapidshare Link Checker

Kemarin siang utak-atik Rapidshare API, buat link checker.

subroutine=checkfiles_v1
Description:	Gets status details about a list of given files. (files parameter limited to 10000 bytes. filenames parameter limited to 100000 bytes.)
Parameters:	files=comma separated list of file ids
		filenames=comma separated list of the respective filename. Example: files=50444381,50444382 filenames=test1.rar,test2.rar
		incmd5=if set to 1, field 7 is the hex-md5 of the file. This will double your points! If not given, all md5 values will be 0
Reply fields:	1:File ID
		2:Filename
		3:Size (in bytes. If size is 0, this file does not exist.)
		4:Server ID
		5:Status integer, which can have the following values:
			0=File not found
			1=File OK (Downloading possible without any logging)
			2=File OK (TrafficShare direct download without any logging)
			3=Server down
			4=File marked as illegal
			5=Anonymous file locked, because it has more than 10 downloads already
			6=File OK (TrafficShare direct download with enabled logging. Read our privacy policy to see what is logged.)
		6:Short host (Use the short host to get the best download mirror: http://rs$serverid$shorthost.rapidshare.com/files/$fileid/$filename)
		7:md5 (See parameter incmd5 in parameter description above.)
Reply format:	integer,string,integer,integer,integer,string,string

contoh pake subroutine-nya untuk pen-check-an 1 link seperti ini

http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=checkfiles_v1&files=NOMORFILE&filenames=NAMAFILE&incmd5=1

contoh pake subroutine-nya untuk pen-check-an banyak link seperti ini

http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=checkfiles_v1&files=NOMORFILE1,NOMORFILE2,NOMORFILE3&filenames=NAMAFILE1,NAMAFILE2,NAMAFILE3&incmd5=1

contohnya seperti ini

Rapidshare Check Links

Rapidshare Check Links

URL:
http://rapidshare.com/files/256343498/liveandroid.0.2.iso
CHECK URL:
http://api.rapidshare.com/cgi-bin/rsapi.cgi?sub=checkfiles_v1&files=256343498&filenames=liveandroid.0.2.iso&incmd5=1
REPLY:
256343498,liveandroid.0.2.iso,183379968,731,1,tg2,03852BCE8CB26ABA21D147153C1FB120
MIRROR:
http://rs731tg2.rapidshare.com/files/256343498/liveandroid.0.2.iso

untuk setiap file yang berbeda, akan direply per baris sebanyak file yang dicari.

kalo gak mau repot nulis url-nya bisa pake tools di http://klasika.netii.net/rapidshare/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s