某社区的常用免费图床 free image hosting websites

Ruby:

install launchy

gem install launchy

 

 

require 'launchy'

sites = %w(
33img.com
luoimg.com
sxotu.com
skeimg.com

nsaimg.com
kanjiantu.com
imgbb.com
s7tu.com
s3tu.com
)

sites.each {
    |x|
    Launchy.open(x)
}

 

如果是perl:

use v5.30.3;
use Browser::Open qw( open_browser );

my @sites = qw(
33img.com
luoimg.com
sxotu.com
skeimg.com

nsaimg.com
kanjiantu.com
imgbb.com
s7tu.com
s3tu.com
);

foreach(@sites) {
    $_ = "https://www." . $_; #$_开头,必须要有http,否则open_browser报错
    sleep (rand(1) * 10)
    open_browser $_;
}

 

参考:http://*.com/questions/8867262/ddg#8867668

 

上一篇:free pixes 压箱底福利推荐python快速爬取


下一篇:Redis 的字符串是这样实现的…