Changeset 42435 for titan/mediathek


Ignore:
Timestamp:
May 6, 2018, 12:39:43 PM (19 months ago)
Author:
tt4sk
Message:

[TiThek] fixed: watchbox website changed

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/mediathek/localparser_free/watchbox.sh

    r42006 r42435  
    355355                $curlbin $URL$PAGE -o $TMP/cache.$PARSER.$INPUT.1
    356356               
    357                 ID=`cat $TMP/cache.$PARSER.$INPUT.1 | grep 'videoId' | cut -d '"' -f2`
     357        ID=`cat $TMP/cache.$PARSER.$INPUT.1 | grep 'videoId' | sed 's/,/\n/g' | grep videoId | cut -d ':' -f2`
    358358                $curlbin "http://api.watchbox.de/devapi/id/$ID?apikey=hbbtv&format=json" -o $TMP/cache.$PARSER.$INPUT.2
    359359                cat $TMP/cache.$PARSER.$INPUT.2 | sed 's/^.*"media_videourl":"//;s/".*$//;s/\\\//\//g' >$TMP/cache.$PARSER.$INPUT.3
Note: See TracChangeset for help on using the changeset viewer.