热播影视的批量下载Shell脚本

2019年12月20日

这个是某个网友给的源文件里的,请原谅这里不放出地址了,只是给一些朋友们离线到自己服务器上就可以了。所以这个地址不放出来,只放一个源码的思路。见谅。

# !/bin/bash
   touch qynzui.txt
   touch qynok.txt
   touch qynxia.txt
  url=""
  page=$(curl -s "${url}"|grep -E "zuida|okzy|okdown|xiazaikuyun")
  arr=(${page})
    for i in ${arr[@]}
    do
    ii=$(echo $i | awk -F "href=\"" '{ print $2 }'|awk -F "\"" '{ print $1 }')
       zui=$(echo $ii | grep -E "zuida")
         if [[ ${ii} = ${zui} ]]; then
              echo -e $ii | sed '/^\s*$/d' >> qynzui.txt
         fi
       xzo=$(echo $ii | grep -E "okdown|okzy")
         if [[ ${ii} = ${zui} ]]; then
              echo -e $ii | sed '/^\s*$/d' >> qynok.txt
         fi
       xia=$(echo $ii | grep -E "xiazaikuyun")
         if [[ ${ii} = ${xia} ]]; then
              echo -e $ii | sed '/^\s*$/d' >> qynxia.txt
         fi
    done
#wget -i qynzui.txt
#wget -i qynok.txt
#wget -i qynxia.txt

 


sicnature ---------------------------------------------------------------------
Your current IP address is: 44.201.24.171
Your IP address location: 美国弗吉尼亚阿什本
Your IP address country and region: 美国 美国
Your current browser is:
Your current system is:
Original content, please indicate the source:
同福客栈论坛 | 蟒蛇科普海南乡情论坛 | JiaYu Blog
sicnature ---------------------------------------------------------------------
Welcome to reprint. Please indicate the source https://www.myzhenai.com.cn/post/3066.html

1 评论

回复 海南胡说 取消回复

您的电子邮箱地址不会被公开。 必填项已用*标注