Posts Tagged ‘ przeklej ’
Poniżej podaje skrypt w ruby do ściągania plików z przekleja #!/usr/bin/ruby require "net/http" require "uri" require "getoptlong" class FileToBigException < Exception end class FileDeletedException < Exception end class LinkErrorException < Exception end def file(name) File.open(name) {|file| return file.read() } end def host(url) url =~ /http:\/\/([^\/]*)\// return $1 end def trail_slash(url) if url =~ /http:\/\/[^\/]*$/ url [ READ MORE ]
I’ve create my first github project Downloader. It’s a Ruby script for download files from file hosting services. You can download files from 4shared, rapidshare, przeklej, filesonic and wrzuta. You can download it from github or from here. You can use it: download.rb <url> or download.rb -f <file with urls> If you download files from [ READ MORE ]
Get every new post delivered to your Inbox.
Join 69 other followers