Ignore:
Timestamp:
12/03/21 22:47:36 (5 months ago)
Author:
obi
Message:

fix hlsdl

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/mediathek/localhoster/hoster.sh

    r45657 r45658  
    920920        URL=$(echo "$INPUT" | tr '|' '\n' | head -n1)
    921921
    922         echo $HLSBIN "$URL" -v -f -u "$USERAGENT" -h "$REFERER" -o "$DEST" >> /tmp/.last_hoster_${TYPE}_${CURTIME}.log
    923         $HLSBIN "$URL" -v -f -u "$USERAGENT" -h "$REFERER" -o "$DEST" >> /tmp/.last_hoster_${TYPE}_${CURTIME}.log
     922        if [ -e /etc/.oebuild ];then
     923                if [ ! -e /usr/bin/hlsdl ] && [ "$DISTRO" != "6.3" ];then
     924                        opkg update > /dev/null 2>&1
     925                        echo install hlsdl > /dev/null 2>&1
     926                        opkg install hlsdl > /dev/null 2>&1
     927                fi
     928        cp /usr/bin/hlsdl $HLSBIN
     929    fi
     930
     931        echo $HLSBIN "$URL" -v -C /mnt/network/cookies -b -f -u "$USERAGENT" -h "$REFERER" -o "$DEST" >> /tmp/.last_hoster_${TYPE}_${CURTIME}.log
     932        $HLSBIN "$URL" -v -C /mnt/network/cookies -b -f -u "$USERAGENT" -h "$REFERER" -o "$DEST" >> /tmp/.last_hoster_${TYPE}_${CURTIME}.log
    924933#       $HLSBIN "$URL" -v -u "$USERA" -h "$REFERER" -o "$DEST" >> /tmp/.last_hlsdl_hoster_${TYPE}_${CURTIME}.log
    925934
Note: See TracChangeset for help on using the changeset viewer.