Changeset 42861 for titan/mediathek


Ignore:
Timestamp:
Sep 30, 2018, 9:33:22 PM (22 months ago)
Author:
obi
Message:

fix sportsondemand fix nba preseason games

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/mediathek/localparser_secret/sportsondemand.sh

    r42594 r42861  
    527527                        if [ "$debug" = "1" ]; then echo $INPUT 444444 $URLTMP; fi
    528528
    529 #               <iframe allowFullScreen allowFullScreen frameborder=0 marginheight=0 marginwidth=0 scrolling='no'src="http://emb.aliez.me/player/video.php?id=47383&s=t67axfnq&w=590&h=384" width="590" height="384">Your browser does not support inline frames or is currently configured not to display inline frames.</iframe>
    530 #                   <iframe allowFullScreen src="//livetv141.net/export/vk.reframe.php?ur4=http://vk.com/video_ext.php?oid=-55574239&id=456242297&hash=f78096b994400693&hd=1" width="600" height="338" frameborder="0" allowfullscreen></iframe>
     529#                       <iframe allowFullScreen src="//streamable.com/s/8dir2/vkhkiz" width="600" height="338" frameborder="0" allowfullscreen></iframe>                                                                               
     530#                       <iframe allowFullScreen allowFullScreen frameborder=0 marginheight=0 marginwidth=0 scrolling='no'src="http://emb.aliez.me/player/video.php?id=47383&s=t67axfnq&w=590&h=384" width="590" height="384">Your browser does not support inline frames or is currently configured not to display inline frames.</iframe>
     531#                       <iframe allowFullScreen src="//livetv141.net/export/vk.reframe.php?ur4=http://vk.com/video_ext.php?oid=-55574239&id=456242297&hash=f78096b994400693&hd=1" width="600" height="338" frameborder="0" allowfullscreen></iframe>
    531532#                       <iframe allowFullScreen src="http://livetv141.net/export/vk.reframe.php?ur4=http://vk.com/video_ext.php?oid=-30408&id=456242896&hash=1bafa57efd8d7c50" width="600" height="338" frameborder="0" allowfullscreen></iframe>
    532533#                       <iframe allowFullScreen src='https://my.mail.ru/video/embed/4219658639352267889' width='626' height='367' frameborder='0' webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
    533534#                       cat $TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.1 | tr '\n' ' ' | tr '\n' ' ' | tr '\t' ' ' | sed 's/ \+/ /g' | sed 's!<iframe!\nfound=!g' | grep ^found | sed 's!src=!\nfound2=!g' | grep ^found2 | cut -d'"' -f2 | grep -v facebook | grep -v getbanner.php | grep -v userapi | grep http >$TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.2
    534                         cat $TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.1 | sed 's!<iframe!\nfound=!g' | grep ^found | sed 's!src=!\nfound2=!g' | grep ^found2 | cut -d'"' -f2 | grep -v facebook | grep -v getbanner.php | grep -v userapi | grep http >$TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.2
    535 
     535#                       cat $TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.1 | sed 's!<iframe!\nfound=!g' | grep ^found | sed 's!src=!\nfound2=!g' | grep ^found2 | cut -d'"' -f2 | grep -v facebook | grep -v getbanner.php | grep -v userapi | grep http >$TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.2
     536                        cat $TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.1 | sed 's!<iframe!\nfound=!g' | grep ^found | sed 's!src=!\nfound2=!g' | grep ^found2 | cut -d'"' -f2 | grep -v facebook | grep -v getbanner.php | grep -v userapi >$TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.2
    536537                        URLTMP=`cat $TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.2 | sed 's#//#\nhttp://#' | grep ^"http://" | cut -d"'" -f1 | cut -d'"' -f1`
    537538                        if [ "$debug" = "1" ]; then echo $INPUT 555555 $URLTMP; fi
     
    657658                                if [ "$debug" = "1" ]; then echo $INPUT dddddd $URLTMP; fi
    658659                                URL=`/tmp/localhoster/hoster.sh get $URLTMP`
     660                        elif [ `echo $URLTMP | grep "streamable.com" | wc -l` -eq 1 ];then
     661                                if [ "$debug" = "1" ]; then echo $INPUT eeeeee $URLTMP; fi
     662                                URL=`/tmp/localhoster/hoster.sh youtube_dl $URLTMP`
     663                        elif [ `echo $URLTMP | grep "ok.ru" | wc -l` -eq 1 ];then
     664                                if [ "$debug" = "1" ]; then echo $INPUT ffffff $URLTMP; fi
     665                                URL=`/tmp/localhoster/hoster.sh youtube_dl $URLTMP`
    659666                        elif [ `echo $URLTMP | grep "/embed/" | wc -l` -eq 1 ];then
    660                                 if [ "$debug" = "1" ]; then echo $INPUT eeeeee $URLTMP; fi
     667                                if [ "$debug" = "1" ]; then echo $INPUT gggggg $URLTMP; fi
    661668
    662669                                $curlbin $URLTMP --referer $URL$PAGE -o $TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.3
     
    673680                                URL=`cat $TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.6`
    674681                        elif [ `echo $URLTMP | grep "tinyurl" | wc -l` -eq 1 ];then
    675                                 if [ "$debug" = "1" ]; then echo $INPUT ffffff $URLTMP; fi
     682                                if [ "$debug" = "1" ]; then echo $INPUT hhhhh $URLTMP; fi
    676683#<link rel="manifest" href="/manifest.json"><link rel="shortlink" href="https://youtu.be/016LXFHpFCk"><link rel="search" type="application/opensearchdescription+xml" href="https://www.youtube.com/opensearch?locale=de_DE" title="YouTube-Videosuche"><link rel="shortcut icon" href="https:/
    677684
     
    679686                                cat $TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.3 | sed 's!<link rel!\n<link rel!g' | grep shortlink | sed 's#//#\nhttp://#' | grep ^"http://" | cut -d"'" -f1 | cut -d'"' -f1 >$TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.4
    680687                                URLTMP=`cat $TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.4`
    681                                 if [ "$debug" = "1" ]; then echo $INPUT ggggg $URLTMP; fi
     688                                if [ "$debug" = "1" ]; then echo $INPUT iiiii $URLTMP; fi
    682689
    683690                                ID=`echo $URLTMP | tr '/' '\n' | tail -n1`
     
    695702                                fi
    696703                        else
    697                                 if [ "$debug" = "1" ]; then echo $INPUT hhhhhh $URLTMP; fi
     704                                if [ "$debug" = "1" ]; then echo $INPUT jjjjj $URLTMP; fi
    698705                                URLTMP=`echo $URLTMP  | sed 's#//#\nhttp://#' | grep ^"http://"`
    699                                 if [ "$debug" = "1" ]; then echo $INPUT iiiiii $URLTMP; fi
     706                                if [ "$debug" = "1" ]; then echo $INPUT kkkkk $URLTMP; fi
    700707
    701708                                $curlbin $URLTMP --referer $URL$PAGE -o $TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.3
Note: See TracChangeset for help on using the changeset viewer.