Total Pageviews

Wednesday, 14 December 2011

centos vps下,安装plowshare下载国外网盘的资源

国外网盘的资源非常的丰富,但是下载往往是一个难题,不是不支持下载工具(貌似普通帐号就没有支持的),就是需要高级账号,反正就一个字慢,更别提断点续传了。当我们手中如果有一个国外的VPS或者独立服务器的时候,这就不是一个问题了。
我们仅仅需要自己的VPS或者独服给咱们自己做一个中转。
在centos下安装plowshare非常的简单,我选用的是编译安装。
首先是系统,我选择的是centos 5.6 32bits root权限下安装,然后就是下载源码了。
wget http://plowshare.googlecode.com/files/plowshare-snapshot-git20111030.tar.gz
这个包是目前为止最新的,查看最新版本请点击这里
接下来解压源码包。
tar xvzf plowshare-snapshot-git20111030.tar.gz
进入文件夹
cd plowshare-snapshot-git20111030
开始编译安装
bash setup.sh install
这样就安装好了,输入plowdown检查下是否安装成功,如果出现
[root@sunsea download]# plowdown
Usage: plowdown [OPTIONS] [MODULE_OPTIONS] URL|FILE [URL|FILE ...]
  Download files from file sharing servers.
  Available modules: 115 1fichier 2shared 4shared badongo data_hu dataport_cz depositfiles divshare dl_free_fr duckload euroshare_eu fileserve filesonic hotfile humyo mediafire megashares megaupload multiupload netload_in rapidshare sendspace uploading uploaded_to usershare x7_to zshare wupload
Global options:
  -h, –help: Show help info
  –version: Return plowdown version
  -v LEVEL, –verbose=LEVEL: Set output verbose level: 0=none, 1=err, 2=notice (default), 3=dbg, 4=report
  -q, –quiet: Alias for -v0
  -c, –check-link: Check if a link exists and return
  -m, –mark-downloaded: Mark downloaded links in (regular) FILE arguments
  -x, –no-overwrite: Do not overwrite existing files
  -o DIRECTORY, –output-directory=DIRECTORY: Directory where files will be saved
  –temp-directory=DIRECTORY: Directory where files are temporarily downloaded
  -r SPEED, –limit-rate=SPEED: Limit speed to bytes/sec (suffixes: k=Kb, m=Mb, g=Gb)
  -i IFACE, –interface=IFACE: Force IFACE interface
  -t SECS, –timeout=SECS: Timeout after SECS seconds of waits
  –max-retries=N: Set maximum retries for captcha solving
  –no-arbitrary-wait: Do not wait on temporarily unavailable file with no time delay information
  –cookies=FILE: Force use of a cookies file (login will be skipped)
  –get-module: Get module(s) for URL(s) and exit
  –run-download=COMMAND: run down command (interpolations: %url, %filename, %cookies) for each link
  –download-info-only=STRING: Echo string (interpolations: %url, %filename, %cookies) for each link
  –fallback: If no module is found for link, simply download it (HTTP GET)
Options for module <euroshare_eu>:
  -b USER:PASSWORD, –auth-free=USER:PASSWORD: Free-membership
Options for module <fileserve>:
  -a USER:PASSWORD, –auth=USER:PASSWORD: Free or Premium account
Options for module <filesonic>:
  -a USER:PASSWORD, –auth=USER:PASSWORD: Use a free-membership or premium account
Options for module <hotfile>:
  -a USER:PASSWORD, –auth=USER:PASSWORD: Free-membership or Premium account
Options for module <mediafire>:
  -p PASSWORD, –link-password=PASSWORD: Used in password-protected files
Options for module <megaupload>:
  -a USER:PASSWORD, –auth=USER:PASSWORD: Free-membership or Premium account
  -p PASSWORD, –link-password=PASSWORD: Used in password-protected files
Options for module <netload_in>:
  -a USER:PASSWORD, –auth=USER:PASSWORD: Premium account
Options for module <rapidshare>:
  -a USER:PASSWORD, –auth=USER:PASSWORD: Use Premium-Zone account
Options for module <x7_to>:
  -b USER:PASSWORD, –auth-free=USER:PASSWORD: Use Free account
Options for module <wupload>:
  -a USER:PASSWORD, –auth=USER:PASSWORD: Use premium account
表示安装成功,同时这也是下载命令的帮助文件。
简单介绍下下载filesonic的方法
plowdown -a USER:PASSWORD http://*****
今天介绍的这个版本的plowshare已经不能使用普通帐号下载了,解决办法很简单,去淘宝买一天的高级账号,买一天1元。如果为了某一个资源这样比较浪费,所以我一般是攒很多连接后一起下载,批量下载也很方便。
首先在本地建一个1.txt把需要下载的连接都粘贴进去,一个连接一行。然后再把这个文本传到VPS里。
想把文件下载到哪个文件夹就传到哪个文件夹,然后执行命令
plowdown -a USER:PASSWORD 1.txt
就可以批量下载1.txt里的连接了。
另外提一天plowshare也可以上传到网盘,这里就不详细介绍了,可以输入plowup来查看详细使用方法。
接下来就是下载回本地了,一般使用VPS的都应该知道怎么做了吧,无论是你使用http还是ftp亦或者sftp都无所谓。

No comments:

Post a Comment