Ignore:
Timestamp:
11/19/16 19:11:11 (7 years ago)
Author:
obi
Message:

fix bs an vivo

File:
1 edited

Legend:

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

    r39008 r39357  
    248248#    <br style="clear:both;"/>
    249249
     250
     251#function followlocation()
     252#{
     253#       system("curlbin -s -D - $1 | grep Location: | tail -n1")
     254#}
     255
    250256hoster()
    251257{
     
    290296#                  print "Originalvideo#" url "#http://atemio.dyndns.tv/mediathek/menu/default.jpg#default.jpg#" NAME "#140"
    291297#                  print title "#" url "#http://atemio.dyndns.tv/mediathek/menu/" title ".jpg#" title ".jpg#" NAME "#14"
    292                   print url
     298
     299tmp = "curl -k -s -L --cookie /mnt/network/cookies --cookie-jar /mnt/network/cookies -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\" -s -D - " url " | grep Location: | tail -n1 | cut -d \" \" -f2"
     300#tmp = "curl -s -D - " url " | grep Location: | tail -n1"
     301
     302                                        while ((tmp | getline) > 0)
     303                                           print
     304                                           #print tmp
     305                                           #print $0
     306                                       
     307                                        close(tmp)
    293308               }
    294309               next
Note: See TracChangeset for help on using the changeset viewer.