下载Apple电影预告片

将链接复制到高清电影预告片中以执行此命令。如果将它放在脚本中,并将URL作为输入,则更为优雅。
.

0

linux命令:wget -U "QuickTime/7.6.2 (qtver=7.6.2;os=Windows NT 5.1Service Pack 3)" `echo http://movies.apple.com/movies/someHDmovie_720p.mov | sed 's/\([0-9][0-9]\)0p/h\10p/'` 's/\([0-9][0-9]\)0p/h\10p/'` sed | http://movies.apple.com/movies/someHDmovie_720p.mov `echo 3)" Pack 5.1Service NT (qtver=7.6.2;os=Windows "QuickTime/7.6.2 -U wget wget -U "QuickTime/7.6.2 (qtver=7.6.2;os=Windows NT 5.1Service Pack 3)" `echo http://movies.apple.com/movies/someHDmovie_720p.mov | sed 's/\([0-9][0-9]\)0p/h\10p/'`rootopen.com
linux命令:wget -U "QuickTime/7.6.2 (qtver=7.6.2;os=Windows NT 5.1Service Pack 3)" `echo http://movies.apple.com/movies/someHDmovie_720p.mov | sed 's/\([0-9][0-9]\)0p/h\10p/'` 's/\([0-9][0-9]\)0p/h\10p/'` sed | http://movies.apple.com/movies/someHDmovie_720p.mov `echo 3)" Pack 5.1Service NT (qtver=7.6.2;os=Windows "QuickTime/7.6.2 -U wget wget -U "QuickTime/7.6.2 (qtver=7.6.2;os=Windows NT 5.1Service Pack 3)" `echo http://movies.apple.com/movies/someHDmovie_720p.mov | sed 's/\([0-9][0-9]\)0p/h\10p/'`rootopen.com
ypoq 2018-03-11 07:21:48
输出
linux命令:wget 详解

评论

相关推荐

使用wget下载网页时,某些网站会尝试,智能根据您IP地址的地理位置检测您的首选语言。如果您在中国但想要下载英文页面,则可能会出现问题

linux命令:wget -–header='Accept-Language: en-us' http://www.timeanddate.com/calendar/index.html?year=2008&country=26 -O calendar.html calendar.html -O http://www.timeanddate.com/calendar/index.html?year=2008&country=26 en-us' -–header='Accept-Language: wget wget -–header='Accept-Language: en-us' http://www.timeanddate.com/calendar/index.html?year=2008&country=26 -O calendar.htmlrootopen.com
linux命令:wget -–header='Accept-Language: en-us' http://www.timeanddate.com/calendar/index.html?year=2008&country=26 -O calendar.html calendar.html -O http://www.timeanddate.com/calendar/index.html?year=2008&country=26 en-us' -–header='Accept-Language: wget wget -–header='Accept-Language: en-us' http://www.timeanddate.com/calendar/index.html?year=2008&country=26 -O calendar.htmlrootopen.com
.

jq安装过程中,报错No package jq available. Error: Nothing to do 说明引用的包不在现有的包源中.那只好下载源码安装 一行命令安装jq

linux命令:wget https://github.com/stedolan/jq/releases/download/jq-1.5/jq-1.5.tar.gz && tar -xvf jq-1.5.tar.gz && cd jq-1.5 && ./configure && make && sudo make install install make sudo && make && ./configure && jq-1.5 cd && jq-1.5.tar.gz -xvf tar && https://github.com/stedolan/jq/releases/download/jq-1.5/jq-1.5.tar.gz wget wget https://github.com/stedolan/jq/releases/download/jq-1.5/jq-1.5.tar.gz && tar -xvf jq-1.5.tar.gz && cd jq-1.5 && ./configure && make && sudo make installrootopen.com
linux命令:wget https://github.com/stedolan/jq/releases/download/jq-1.5/jq-1.5.tar.gz && tar -xvf jq-1.5.tar.gz && cd jq-1.5 && ./configure && make && sudo make install install make sudo && make && ./configure && jq-1.5 cd && jq-1.5.tar.gz -xvf tar && https://github.com/stedolan/jq/releases/download/jq-1.5/jq-1.5.tar.gz wget wget https://github.com/stedolan/jq/releases/download/jq-1.5/jq-1.5.tar.gz && tar -xvf jq-1.5.tar.gz && cd jq-1.5 && ./configure && make && sudo make installrootopen.com
.

这将以递归方式从给定网站下载所有图像到您的/ tmp目录。 -nH和-nd开关禁止下载目录结构。

linux命令:wget -r -l1 --no-parent -nH -nd -P/tmp -A".gif,.jpg" http://example.com/images http://example.com/images -A".gif,.jpg" -P/tmp -nd -nH --no-parent -l1 -r wget wget -r -l1 --no-parent -nH -nd -P/tmp -A".gif,.jpg" http://example.com/imagesrootopen.com
linux命令:wget -r -l1 --no-parent -nH -nd -P/tmp -A".gif,.jpg" http://example.com/images http://example.com/images -A".gif,.jpg" -P/tmp -nd -nH --no-parent -l1 -r wget wget -r -l1 --no-parent -nH -nd -P/tmp -A".gif,.jpg" http://example.com/imagesrootopen.com
.

linux命令:wget -qO - http://myip.dk/ | egrep -m1 -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' -o -m1 egrep | http://myip.dk/ - -qO wget wget -qO - http://myip.dk/ | egrep -m1 -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}'rootopen.com
linux命令:wget -qO - http://myip.dk/ | egrep -m1 -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}' -o -m1 egrep | http://myip.dk/ - -qO wget wget -qO - http://myip.dk/ | egrep -m1 -o '[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}'rootopen.com
.

linux命令:wget -qO - "http://www.tarball.com/tarball.gz" | tar zxvf - - zxvf tar | "http://www.tarball.com/tarball.gz" - -qO wget wget -qO - "http://www.tarball.com/tarball.gz" | tar zxvf -rootopen.com
linux命令:wget -qO - "http://www.tarball.com/tarball.gz" | tar zxvf - - zxvf tar | "http://www.tarball.com/tarball.gz" - -qO wget wget -qO - "http://www.tarball.com/tarball.gz" | tar zxvf -rootopen.com
.

该示例将创建一个名为“警告:@import of css文件不会被转换的目录”。

linux命令:wget -p --convert-links http://www.foo.com http://www.foo.com --convert-links -p wget wget -p --convert-links http://www.foo.comrootopen.com
linux命令:wget -p --convert-links http://www.foo.com http://www.foo.com --convert-links -p wget wget -p --convert-links http://www.foo.comrootopen.com
.

linux命令:wget http://search.twitter.com/trends.json -O - --quiet | ruby -rubygems -e 'require "json";require "yaml"; puts YAML.dump(JSON.parse($stdin.gets))' YAML.dump(JSON.parse($stdin.gets))' puts "yaml"; "json";require 'require -e -rubygems ruby | --quiet - -O http://search.twitter.com/trends.json wget wget http://search.twitter.com/trends.json -O - --quiet | ruby -rubygems -e 'require "json";require "yaml"; puts YAML.dump(JSON.parse($stdin.gets))'rootopen.com
linux命令:wget http://search.twitter.com/trends.json -O - --quiet | ruby -rubygems -e 'require "json";require "yaml"; puts YAML.dump(JSON.parse($stdin.gets))' YAML.dump(JSON.parse($stdin.gets))' puts "yaml"; "json";require 'require -e -rubygems ruby | --quiet - -O http://search.twitter.com/trends.json wget wget http://search.twitter.com/trends.json -O - --quiet | ruby -rubygems -e 'require "json";require "yaml"; puts YAML.dump(JSON.parse($stdin.gets))'rootopen.com
.

非常好的命令,当你想在本地下载一个网站到你的机器,包括图像,CSS和JavaScript

linux命令:wget --recursive --page-requisites --convert-links www.moyagraphix.co.za www.moyagraphix.co.za --convert-links --page-requisites --recursive wget wget --recursive --page-requisites --convert-links www.moyagraphix.co.zarootopen.com
linux命令:wget --recursive --page-requisites --convert-links www.moyagraphix.co.za www.moyagraphix.co.za --convert-links --page-requisites --recursive wget wget --recursive --page-requisites --convert-links www.moyagraphix.co.zarootopen.com
.

-p参数告诉wget包含所有文件,包括图像。-e robots =关你不想让wget服从robots.txt文件-U mozilla作为你浏览器的身份.--随机等待让wget选择一个随机秒数等待,避免进入黑名单。其他有用的wget参数: - limit-rate = 20k限制它下载文件的速率。-b在注销后继续wget。-o $ HOME / wget_log.txt记录输出

linux命令:wget --random-wait -r -p -e robots=off -U mozilla http://www.example.com http://www.example.com mozilla -U robots=off -e -p -r --random-wait wget wget --random-wait -r -p -e robots=off -U mozilla http://www.example.comrootopen.com
linux命令:wget --random-wait -r -p -e robots=off -U mozilla http://www.example.com http://www.example.com mozilla -U robots=off -e -p -r --random-wait wget wget --random-wait -r -p -e robots=off -U mozilla http://www.example.comrootopen.com
.

每当我登录时,我都会在我的一个.bash_profiles文章中发表幽默。

linux命令:wget -qO - snubster.com|sed -n '65p'|awk 'gsub(/<span><br>.*/,"")&&1'|perl -p -e 's:myScroller1.addItem\("<span class=atHeaderOrange>::g;s:</span> <span class=snubFontSmall>::g;s:&quot;:":g;s:^:\n:g;s:$:\n:' class=snubFontSmall>::g;s:&quot;:":g;s:^:\n:g;s:$:\n:' <span class=atHeaderOrange>::g;s:</span> 's:myScroller1.addItem\("<span -e -p 'gsub(/<span><br>.*/,"")&&1'|perl '65p'|awk -n snubster.com|sed - -qO wget wget -qO - snubster.com|sed -n '65p'|awk 'gsub(/<span><br>.*/,"")&&1'|perl -p -e 's:myScroller1.addItem\("<span class=atHeaderOrange>::g;s:</span> <span class=snubFontSmall>::g;s:&quot;:":g;s:^:\n:g;s:$:\n:'rootopen.com
linux命令:wget -qO - snubster.com|sed -n '65p'|awk 'gsub(/<span><br>.*/,"")&&1'|perl -p -e 's:myScroller1.addItem\("<span class=atHeaderOrange>::g;s:</span> <span class=snubFontSmall>::g;s:&quot;:":g;s:^:\n:g;s:$:\n:' class=snubFontSmall>::g;s:&quot;:":g;s:^:\n:g;s:$:\n:' <span class=atHeaderOrange>::g;s:</span> 's:myScroller1.addItem\("<span -e -p 'gsub(/<span><br>.*/,"")&&1'|perl '65p'|awk -n snubster.com|sed - -qO wget wget -qO - snubster.com|sed -n '65p'|awk 'gsub(/<span><br>.*/,"")&&1'|perl -p -e 's:myScroller1.addItem\("<span class=atHeaderOrange>::g;s:</span> <span class=snubFontSmall>::g;s:&quot;:":g;s:^:\n:g;s:$:\n:'rootopen.com
.

黑名单是所有已知脏主机(僵尸网络,垃圾邮件发送者,暴力破解者等)的编译列表,每小时更新一次。这个命令将获得列表并为你创建规则,如果你想让它们自动被阻塞,请将| sh添加到命令行的末尾。这是一个更为实用的解决方案,可以阻止所有情况并允许具体情况,但是有许多人不能或不能这样做,这是脚本将派上用场的地方。对于那些使用ipfw的人来说,一个快速修复将是{print“从任何}添加deny ip从”$ 1“。在样例输出中张贴的是前两项。建议列入黑名单的文件本身过滤出RFC1918地址(10.xxx, 172.16-31.xx,192.168.xx)但是,建议您在实施规则之前检查/解析列表

linux命令:wget -qO - http://infiltrated.net/blacklisted|awk '!/#|[a-z]/&&/./{print "iptables -A INPUT -s "$1" -j DROP"}' DROP"}' -j "$1" -s INPUT -A "iptables '!/#|[a-z]/&&/./{print http://infiltrated.net/blacklisted|awk - -qO wget wget -qO - http://infiltrated.net/blacklisted|awk '!/#|[a-z]/&&/./{print "iptables -A INPUT -s "$1" -j DROP"}'rootopen.com
linux命令:wget -qO - http://infiltrated.net/blacklisted|awk '!/#|[a-z]/&&/./{print "iptables -A INPUT -s "$1" -j DROP"}' DROP"}' -j "$1" -s INPUT -A "iptables '!/#|[a-z]/&&/./{print http://infiltrated.net/blacklisted|awk - -qO wget wget -qO - http://infiltrated.net/blacklisted|awk '!/#|[a-z]/&&/./{print "iptables -A INPUT -s "$1" -j DROP"}'rootopen.com
.

这是从http://www.veen.com/jeff/archives/000573.html得到的。该行将抓取文本文件sourceurls.txt中列出的url上的所有mp3文件(每行一个url)。在上面提到的网站上可以找到更完整的线路细分。

linux命令:wget -r -l1 -H -t1 -nd -N -np -A.mp3 -erobots=off -i ~/sourceurls.txt ~/sourceurls.txt -i -erobots=off -A.mp3 -np -N -nd -t1 -H -l1 -r wget wget -r -l1 -H -t1 -nd -N -np -A.mp3 -erobots=off -i ~/sourceurls.txtrootopen.com
linux命令:wget -r -l1 -H -t1 -nd -N -np -A.mp3 -erobots=off -i ~/sourceurls.txt ~/sourceurls.txt -i -erobots=off -A.mp3 -np -N -nd -t1 -H -l1 -r wget wget -r -l1 -H -t1 -nd -N -np -A.mp3 -erobots=off -i ~/sourceurls.txtrootopen.com
.

此下载完整的音频播客

linux命令:wget -c -v -S -T 100 --tries=0 `curl -s http://ms1.espectador.com/ podcast/espectador/la_venganza_sera_terrible.xml | grep -v xml | grep link | sed 's/]*>//g'` 's/]*>//g'` sed | link grep | xml -v grep | podcast/espectador/la_venganza_sera_terrible.xml http://ms1.espectador.com/ -s `curl --tries=0 100 -T -S -v -c wget wget -c -v -S -T 100 --tries=0 `curl -s http://ms1.espectador.com/ podcast/espectador/la_venganza_sera_terrible.xml | grep -v xml | grep link | sed 's/]*>//g'`rootopen.com
linux命令:wget -c -v -S -T 100 --tries=0 `curl -s http://ms1.espectador.com/ podcast/espectador/la_venganza_sera_terrible.xml | grep -v xml | grep link | sed 's/]*>//g'` 's/]*>//g'` sed | link grep | xml -v grep | podcast/espectador/la_venganza_sera_terrible.xml http://ms1.espectador.com/ -s `curl --tries=0 100 -T -S -v -c wget wget -c -v -S -T 100 --tries=0 `curl -s http://ms1.espectador.com/ podcast/espectador/la_venganza_sera_terrible.xml | grep -v xml | grep link | sed 's/]*>//g'`rootopen.com
.

好:服务器:Apache / 2.2.8(Ubuntu)PHP / 5.2.4-2ubuntu5.4与Suhosin-Patchthe不兼容:服务器:Microsoft-IIS / 6.0和丑:服务器:Apache / 2.2.10(Win32)mod_ssl /2.2.10 OpenSSL / 0.9.8i PHP / 5.2.6

linux命令:wget -S -O/dev/null "INSERT_URL_HERE" 2>&1 | grep Server Server grep | 2>&1 "INSERT_URL_HERE" -O/dev/null -S wget wget -S -O/dev/null "INSERT_URL_HERE" 2>&1 | grep Serverrootopen.com
linux命令:wget -S -O/dev/null "INSERT_URL_HERE" 2>&1 | grep Server Server grep | 2>&1 "INSERT_URL_HERE" -O/dev/null -S wget wget -S -O/dev/null "INSERT_URL_HERE" 2>&1 | grep Serverrootopen.com
.

如果用户名包含@你可以使用这个:wget -r --user = username_here --password = pass_here ftp://ftp.example.com

linux命令:wget -r ftp://user:pass@ftp.example.com ftp://user:pass@ftp.example.com -r wget wget -r ftp://user:pass@ftp.example.comrootopen.com
linux命令:wget -r ftp://user:pass@ftp.example.com ftp://user:pass@ftp.example.com -r wget wget -r ftp://user:pass@ftp.example.comrootopen.com
.

当我们为aptitude(debian软件包管理器)添加一个新软件包时,我们需要添加gpg,否则它会显示缺少密钥的警告/错误

linux命令:wget -q http://xyz.gpg -O- | sudo apt-key add - - add apt-key sudo | -O- http://xyz.gpg -q wget wget -q http://xyz.gpg -O- | sudo apt-key add -rootopen.com
linux命令:wget -q http://xyz.gpg -O- | sudo apt-key add - - add apt-key sudo | -O- http://xyz.gpg -q wget wget -q http://xyz.gpg -O- | sudo apt-key add -rootopen.com
.

当我们为aptitude(debian软件包管理器)添加一个新软件包时,我们需要添加gpg,否则它会显示缺少密钥的警告/错误

linux命令:wget -q http://xyz.gpg -O- | sudo apt-key add - - add apt-key sudo | -O- http://xyz.gpg -q wget wget -q http://xyz.gpg -O- | sudo apt-key add -rootopen.com
linux命令:wget -q http://xyz.gpg -O- | sudo apt-key add - - add apt-key sudo | -O- http://xyz.gpg -q wget wget -q http://xyz.gpg -O- | sudo apt-key add -rootopen.com
.

linux命令:wget -qO- whatismyip.org whatismyip.org -qO- wget wget -qO- whatismyip.orgrootopen.com
linux命令:wget -qO- whatismyip.org whatismyip.org -qO- wget wget -qO- whatismyip.orgrootopen.com
.

为了做到这一点,首先你需要用你的账户信息保存一个cookie文件。这些命令可以做到这一点(也许你需要在之前创建'.cookies'目录)。另外,您需要检查Premium Zone >> Settings选项卡上的“直接下载”选项。您只需要执行一次操作(只要您维护该文件或Rapidshare Premium帐户)即可。

linux命令:wget --save-cookies ~/.cookies/rapidshare --post-data "login=USERNAME&password=PASSWORD" -O - https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi > /dev/null /dev/null > https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi - -O "login=USERNAME&password=PASSWORD" --post-data ~/.cookies/rapidshare --save-cookies wget wget --save-cookies ~/.cookies/rapidshare --post-data "login=USERNAME&password=PASSWORD" -O - https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi > /dev/nullrootopen.com
linux命令:wget --save-cookies ~/.cookies/rapidshare --post-data "login=USERNAME&password=PASSWORD" -O - https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi > /dev/null /dev/null > https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi - -O "login=USERNAME&password=PASSWORD" --post-data ~/.cookies/rapidshare --save-cookies wget wget --save-cookies ~/.cookies/rapidshare --post-data "login=USERNAME&password=PASSWORD" -O - https://ssl.rapidshare.com/cgi-bin/premiumzone.cgi > /dev/nullrootopen.com
.

下载内容部分。注意:'-c'似乎不能很好地工作,有时候下载会停留在99%。只要完成wget没有问题。此外,下载可能会在完成后重新启动。您也可以取消。我不知道它是wget还是Rapidshare故障,因为我没有Megaupload的问题,例如.UPDATE:正如roebek所指出的,重启故障可以通过“-t 1”选项来解决。非常感谢。

linux命令:wget -c -t 1 --load-cookies ~/.cookies/rapidshare <URL> <URL> ~/.cookies/rapidshare --load-cookies 1 -t -c wget wget -c -t 1 --load-cookies ~/.cookies/rapidshare <URL>rootopen.com
linux命令:wget -c -t 1 --load-cookies ~/.cookies/rapidshare <URL> <URL> ~/.cookies/rapidshare --load-cookies 1 -t -c wget wget -c -t 1 --load-cookies ~/.cookies/rapidshare <URL>rootopen.com
.
共收录0条命令行
这里是记录和分享命令行的地方, 所有命令行都可以进行评论、提交替代方案.

推荐
    热门命令