Ignore:
Timestamp:
01/26/16 04:07:55 (6 years ago)
Author:
obi
Message:

update tithek

File:
1 edited

Legend:

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

    r36960 r36961  
    185185                 j = index(substr($0, i), "</a>") - 1
    186186                 title = substr($0, i, j)
    187                  print title "#" SRC " " SRC " video " url "#http://atemio.dyndns.tv/mediathek/menu/default.jpg#default.jpg#" NAME "#0"
     187#                 print title "#" SRC " " SRC " video " url "#http://atemio.dyndns.tv/mediathek/menu/default.jpg#default.jpg#" NAME "#0"
     188                 print SRC " " SRC " video " url
    188189              }
    189190              next
     
    214215                  j = index(substr($0, i), "\"") - 1
    215216                  url = substr($0, i, j)
    216                   print "Originalvideo#" url "#http://atemio.dyndns.tv/mediathek/menu/default.jpg#default.jpg#" NAME "#14"
     217
     218                  i = index($0, "<a href=\"") + 16
     219                  j = index(substr($0, i), "/") - 1
     220                  title = substr($0, i, j)
     221                 
     222#                  print "Originalvideo#" url "#http://atemio.dyndns.tv/mediathek/menu/default.jpg#default.jpg#" NAME "#14"
     223                  print title "#" url "#http://atemio.dyndns.tv/mediathek/menu/" title ".jpg#" title ".jpg#" NAME "#14"
    217224               }
    218225               next
     
    224231
    225232' >/tmp/tithek/$PARSER.video.list
    226         echo "/tmp/tithek/$PARSER.video.list"
     233        cat "/tmp/tithek/$PARSER.video.list"
    227234}
    228235
Note: See TracChangeset for help on using the changeset viewer.