Changeset 40860 for titan/mediathek/localparser_secret/movie4k.sh
- Timestamp:
- 08/28/17 01:27:03 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/mediathek/localparser_secret/movie4k.sh
r40859 r40860 208 208 # $curlbin $URL/$PAGE -o $TMP/cache.$PARSER.$INPUT.1 -A 'Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Maxthon/4.4.7.3000 Chrome/30.0.1599.101 Safari/537.36' 209 209 /tmp/localhoster/hoster.sh get $URL/$PAGE > $TMP/cache.$PARSER.$INPUT.1 210 # <iframe src="//www.rapidvideo.com/e/FIW59O2DED" width="730" height="460" frameborder="0" scrolling="no"></iframe><BR> <div id="underplayer"> 211 STREAMURL=`cat $TMP/cache.$PARSER.$INPUT.1 | sed 's!<iframe src="!\nstreamurl="!' | grep ^streamurl= | cut -d'"' -f2 | tr ' ' '\n' | head -n1` 210 211 STREAMURL=`cat $TMP/cache.$PARSER.$INPUT.1 | sed 's!<a target="_blank" href="!\nstreamurl="!' | grep ^streamurl= | cut -d'"' -f2` 212 213 if [ `echo $STREAMURL | grep ^http | wc -l` -eq 0 ]; then 214 # <iframe src="//www.rapidvideo.com/e/FIW59O2DED" width="730" height="460" frameborder="0" scrolling="no"></iframe><BR> <div id="underplayer"> 215 STREAMURL=`cat $TMP/cache.$PARSER.$INPUT.1 | sed 's!<iframe src="!\nstreamurl="!' | grep ^streamurl= | cut -d'"' -f2 | tr ' ' '\n' | head -n1` 216 fi 212 217 213 218 # STREAMURL=`cat $TMP/cache.$PARSER.$INPUT.1 | sed 's!<a target="_blank" href="!\nstreamurl="!' | grep ^streamurl= | cut -d'"' -f2` … … 215 220 echo $STREAMURL 216 221 } 222 217 223 218 224 case $INPUT in
Note: See TracChangeset
for help on using the changeset viewer.