Changeset 43089


Ignore:
Timestamp:
12/04/18 01:08:14 (5 years ago)
Author:
obi
Message:

fix

File:
1 edited

Legend:

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

    r43088 r43089  
    642642hosterlist()
    643643{
     644#rm $TMP/$FILENAME.list
    644645        if [ ! -e "$TMP/$FILENAME.list" ]; then
    645646                $curlbin -o - $URL/$PAGE | awk -v SRC=$SRC -v NAME=$NAME -v PICNAME=$PICNAME -v INPUT=$INPUT -v PAGE=$PAGE -v NEXT=$NEXT \
     
    650651                                        suche = 1
    651652                                }
    652                                 /^links\[/ \
     653#                               /^links\[/ \
     654                /tablemoviesindex2/ \
    653655                                {
    654656                                        if ( suche == 1 )
    655657                                        {
     658#                                               # extrahiere den newpage pfad
     659#                                               i = index($0, "href=\\\"") + 7
     660#                                       j = index(substr($0, i), "\\") - 1
     661#                                       newpage = substr($0, i, j)
     662
    656663                                                # extrahiere den newpage pfad
    657                                                 i = index($0, "href=\\\"") + 7
    658                                         j = index(substr($0, i), "\\") - 1
    659                                         newpage = substr($0, i, j)
     664                                                i = index($0, "window.location.href = \x27") + 24
     665                                            j = index(substr($0, i), "\x27") - 1
     666                                            newpage = substr($0, i, j)
    660667
    661668                                                # extrahiere den title pfad
     
    668675                                        extra = substr($0, i, j)
    669676
     677#print 123 $0
     678#print "newpage" newpage
     679#print "extra" extra
     680#print "title" title
     681
    670682                                                if (title != "")
    671683                                                {
    672684                                                        pic = tolower(title)
    673685                                                        split(pic, a, ".")
    674                                                         title = title " (" extra ")"
     686#                                                       title = title " (" extra ")"
    675687                                                        if ( pic == "" )
    676688                                                        {
     
    686698                                                        # 25. in naechste zeile springen
    687699                                                        # 26. \x27 = single quotes
    688 
    689                                                         print title "#" SRC " " SRC " hoster \x27" newpage "\x27#http://atemio.dyndns.tv/mediathek/menu/" pic ".jpg#" pic ".jpg#" NAME "#111"
     700                                                        if ( newpage != "" )
     701                                                                print title "#" SRC " " SRC " hoster \x27" newpage "\x27#http://atemio.dyndns.tv/mediathek/menu/" pic ".jpg#" pic ".jpg#" NAME "#111"
    690702                                                }
    691703                                                next
Note: See TracChangeset for help on using the changeset viewer.