Changeset 44994
- Timestamp:
- 12/11/20 01:00:10 (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/mediathek/localhoster/hoster.sh
r44932 r44994 212 212 videocode=`cat $TMP/cache.$FILENAME.1` 213 213 214 STREAMLIST="$TMP/$TYPE.$hoster.$FILENAME.streamlist" 215 echo "https://thevideos.ga/$videocode" > $STREAMLIST 216 #start dummy page not found then works playback without input/outout error 217 curl "https://thevideos.ga/$videocode" > /dev/null 2>&1 218 echo $STREAMLIST 214 if [ "$ARCH" == "sh4" ];then 215 STREAMLIST="$TMP/$TYPE.$hoster.$FILENAME.streamlist" 216 echo "http://thevideos.ga/$videocode" > $STREAMLIST 217 #start dummy page not found then works playback without input/outout error 218 curl "http://thevideos.ga/$videocode" > /dev/null 2>&1 219 echo $STREAMLIST 220 else 221 STREAMLIST="$TMP/$TYPE.$hoster.$FILENAME.streamlist" 222 echo "https://thevideos.ga/$videocode" > $STREAMLIST 223 #start dummy page not found then works playback without input/outout error 224 curl "https://thevideos.ga/$videocode" > /dev/null 2>&1 225 echo $STREAMLIST 226 fi 219 227 ####### 220 228 exit … … 394 402 395 403 voe() 396 { 397 URL=`$curlbin "$INPUT" | sed -nr "s/.*src: '([^']+)'.*/\1/p"` 404 { 405 if [ "$ARCH" == "sh4" ];then 406 URL=`$curlbin "$INPUT" | sed -nr "s/.*src: '([^']+)'.*/\1/p" | sed 's/https:/http:/g'` 407 else 408 URL=`$curlbin "$INPUT" | sed -nr "s/.*src: '([^']+)'.*/\1/p"` 409 fi 398 410 REFERER=`echo "$INPUT" | sed -e 's/=/3D/g' -e 's/&/26/g'` 399 411 echo "$URL|Referer=$REFERER&User-Agent=$USERAGENT"
Note: See TracChangeset
for help on using the changeset viewer.