bpi-tools --update命令所用的默认地址是404错误,无法访问


#1

BPIURL=“https://googledrive.com/host/0B6FbwMfcqfFZTUpocHhQbzZJSkk

download_index()
{
echo BPIFILE=$BPIFILE
echo “Wait for download index file …”
#wget -O $BPIFILE $BPIURL
curl -s -L $BPIURL > $BPIFILE -----------这句执行直接返回404错误!!!
echo “OK!!\n”
}

已经翻墙,google本身可以访问,但是脚本中制定的地址访问不了
具体的执行结果显示如下:

chenfeng@chenfeng-TM1703:~$
chenfeng@chenfeng-TM1703:~$ bpi-tools --update
bpi-tools v1.0.6
usage: bpi-tools
bpi-tools FILE
bpi-tools --all | --update | --download | --version

BPIFILE=/home/chenfeng/.bpi-tools.lst
Wait for download index file …
OK!!\n

bpi files:
html>
lang=en>
charset=utf-8>
name=viewport minimum-scale=1,
404 Found)!!1

arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% 0;max-width:390px;min-height:180px;padding:30px

href=//www.google.com/>
That’s error.
requested /host/0B6FbwMfcqfFZTUpocHhQbzZJSkk
chenfeng@chenfeng-TM1703:~$
chenfeng@chenfeng-TM1703:~$
chenfeng@chenfeng-TM1703:~$
chenfeng@chenfeng-TM1703:~$ bpi-tools --version

bpi files:
/usr/bin/html> NOT INSTALLED
/usr/bin/lang=en> NOT INSTALLED
/usr/bin/charset=utf-8> NOT INSTALLED
/usr/bin/name=viewport NOT INSTALLED
/usr/bin/404 NOT INSTALLED
/usr/bin/arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% NOT INSTALLED
/usr/bin/href=//www.google.com/><span NOT INSTALLED
/usr/bin/That’s NOT INSTALLED
/usr/bin/requested NOT INSTALLED
chenfeng@chenfeng-TM1703:~$