Changeset 41361 for titan/mediathek/localhoster/hoster.sh
- Timestamp:
- 12/08/17 02:58:57 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/mediathek/localhoster/hoster.sh
r41360 r41361 11 11 12 12 #FILENAME="`echo $SRC | tr '/' '\n' | tail -n1 | sed 's/.sh//'` $INPUT $PAGE $NEXT" 13 FILENAME="`echo $INPUT | sed -e 's/\ &\+/./g' -e 's#\/\+#.#g' -e 's/\?\+/./g' -e 's/:\+/./g' -e 's/;\+/./g' -e 's/=\+/./g' -e 's/ \+/./g' -e 's/\.\+/./g'`"13 FILENAME="`echo $INPUT | sed -e 's/\-\+/./g' | sed -e 's/\+\+/./g' | sed -e 's/\&\+/./g' -e 's#\/\+#.#g' -e 's/\?\+/./g' -e 's/:\+/./g' -e 's/;\+/./g' -e 's/=\+/./g' -e 's/ \+/./g' -e 's/\.\+/./g'`" 14 14 PICNAME=`echo $FILENAME` 15 15 … … 257 257 fi 258 258 259 #vodlocker260 #$curlbin "http://www.vodlocker.to/embed?t=Money+Monster&y=2016&lang=de&referrer=link"261 262 259 $curlbin "$INPUT" -o $TMP/cache.hoster.$hoster.1 263 264 cat $TMP/cache.hoster.$hoster.1 | grep play_container | sed -nr "s/.*href='([^']+)'.*/\1/p" >$TMP/cache.hoster.$hoster.2 265 TMPURL=`cat $TMP/cache.hoster.$hoster.2` 266 echo TMPURL $TMPURL 267 268 $curlbin "$TMPURL" -o $TMP/cache.hoster.$hoster.3 269 cat $TMP/cache.hoster.$hoster.3 | sed 's/<source src=/\nfound=/g' | grep ^found= | cut -d"'" -f2 >$TMP/cache.hoster.$hoster.url1 270 URL=`cat $TMP/cache.hoster.$hoster.url1` 260 cat $TMP/cache.hoster.$hoster.1 | sed 's/<source src=/\nfound=/g' | grep ^found= | cut -d"'" -f2 >$TMP/cache.hoster.$hoster.1.url1 261 URL=`cat $TMP/cache.hoster.$hoster.1.url1` 262 271 263 if [ ! -z "$URL" ];then 272 echo "$URL$EXTRA" >> $STREAMLIST 273 # echo "$URL" >> $STREAMLIST 264 echo "$URL" >> $STREAMLIST 274 265 fi 275 266 276 267 URL=$STREAMLIST 277 278 268 279 269 echo "$URL"
Note: See TracChangeset
for help on using the changeset viewer.