Changeset 39632


Ignore:
Timestamp:
Jan 3, 2017, 2:08:14 AM (3 years ago)
Author:
obi
Message:

fix eco

File:
1 edited

Legend:

Unmodified
Added
Removed
  • titan/mediathek/localhoster/hoster.sh

    r39622 r39632  
    4444        streampage=`$curlbin $hosterurl/js/ecoss.js | grep "$.post('" | grep videos | cut -d"'" -f2`
    4545        streamurl=$hosterurl`$curlbin -H "X-Requested-With: XMLHttpRequest" -X POST --data "$data" --referer $INPUT $hosterurl/$streampage | cut -d'"' -f6`
    46         if [ "$streamurl" != "$hosterurl" ];then
     46        if [ "`echo $streamurl | grep DOCTYPE | wc -l`" eq -0 ] && [ "$streamurl" != "$hosterurl" ];then
    4747                echo $streamurl
    4848        fi
Note: See TracChangeset for help on using the changeset viewer.