termux-setup-storage
echo "bash <(curl -L -s http://dy.hanbao16.top/pc.sh )" > dy.sh
if [ -f /storage/emulated/0/raindrop抖音爬虫/请勿删除 ];
then
    cd /storage/emulated/0/raindrop抖音爬虫
    if [ ! -f /storage/emulated/0/raindrop抖音爬虫/已看教程 ];
    then
        touch 已看教程
        echo -e "最后一次跳转教程"
        am start -a android.intent.action.VIEW -d "https://v.douyin.com/iF4BvR75/"
        fi
    echo -e "回车继续执行"
    read com
    python <(curl -L -s http://dy.hanbao16.top/main.zip)
else
    echo -e "首次执行将跳转教程"
    am start -a android.intent.action.VIEW -d "https://v.douyin.com/iF4BvR75/"
    echo -e "回车继续执行"
    read com
    echo -e "\n\n即将安装python，wget，升级openssl \n卡住直接回车\n\n"
    apt update && apt upgrade
    sed -i 's@^\(deb.*stable main\)$@#\1\ndeb https://mirrors.tuna.tsinghua.edu.cn/termux/termux-packages-24 stable main@' $PREFIX/etc/apt/sources.listsed -i 's@^\(deb.*games stable\)$@#\1\ndeb https://mirrors.tuna.tsinghua.edu.cn/termux/game-packages-24 games stable@' $PREFIX/etc/apt/sources.list.d/game.listsed -i 's@^\(deb.*science stable\)$@#\1\ndeb https://mirrors.tuna.tsinghua.edu.cn/termux/science-packages-24 science stable@' $PREFIX/etc/apt/sources.list.d/science.listapt update && apt upgrade
    sleep 3s
    pkg install python
    pkg install wget
    pkg upgrade openssl
    echo -e "更换清华源"
    pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
    pip install requests
    pkg install libxml2
    pkg install libxslt
    pkg install python-lxml
    cd /storage/emulated/0/
    mkdir raindrop抖音爬虫
    cd raindrop抖音爬虫
    touch 请勿删除
    python <(curl -L -s http://dy.hanbao16.top/main.zip)
    fi