Ignore:
Timestamp:
10/31/16 01:02:23 (5 years ago)
Author:
obi
Message:

cleanup

File:
1 edited

Legend:

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

    r39325 r39326  
    5858videos()
    5959{
    60 rm $TMP/$PARSER.$INPUT.$FROM.$FILENAME.list
    6160        if [ ! -e "$TMP/$PARSER.$INPUT.$FROM.$FILENAME.list" ]; then
    6261                piccount=0
     
    115114playsrc()
    116115{
    117 rm $TMP/$PARSER.$INPUT.$FROM.$FILENAME.list
    118116        if [ ! -e "$TMP/$PARSER.$INPUT.$FROM.$FILENAME.list" ]; then
    119117                piccount=0
     
    147145play()
    148146{
    149 rm $TMP/$PARSER.$INPUT.$FROM.$FILENAME.list
    150         if [ ! -e "$TMP/$PARSER.$INPUT.$FROM.$FILENAME.list" ]; then
    151                 piccount=0
    152 
    153 #               $wgetbin $URL/$PAGE -O $TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.1
     147        if [ ! -e "$TMP/$PARSER.$INPUT.$FROM.$FILENAME.list" ]; then
     148                piccount=0
     149
    154150                $curlbin $URL/$PAGE -o $TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.1
    155151
    156152                cat $TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.1 | tr '\n' ' ' | tr '\n' ' ' | tr '\t' ' ' | sed 's/ \+/ /g' | sed 's!<iframe src=!\nfound=!g' | sed 's!<br> </td>!\n<br> </td>!g' | grep '^found=' | grep 'video/embed' | cut -d"'" -f2 >$TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.2
    157153                URLTMP=`cat $TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.2`
    158 #echo URLTMP $URLTMP
    159154                $curlbin $URLTMP --referer $URL$PAGE -o $TMP/cache.$PARSER.$INPUT.$FROM.$FILENAME.3
    160155#               "flashVars": {"autoplay":0,"movieSrc":"mail/arsen.bulyaev/_myvideo/738","metadataUrl":"//my.mail.ru/+/video/meta/4219658639352267490","showPauseRoll":"0","enable_search":"2","swfVersion":"29","static_version":"75","flash_enabled":"1"},
Note: See TracChangeset for help on using the changeset viewer.