Changeset 40998 for titan/mediathek


Ignore:
Timestamp:
10/06/17 12:22:21 (6 years ago)
Author:
obi
Message:

fix nba

File:
1 edited

Legend:

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

    r40995 r40998  
    225225                        }
    226226                        # <a href="/enx/eventinfo/502387_houston_la_clippers/"><font color="#949494"><b>122:103</b></font></a>
    227                         /123<a href=\"\/enx\/eventinfo\// \
     227                        /123old <a href=\"\/enx\/eventinfo\// \
    228228                        {
    229229                                if (suche == 1)
     
    286286                                }
    287287                        }
    288                         # <a class="small poplink" data-pop="ddr_2017-03-01_407_445" href="#">Full Match Record <img src="//cdn.livetvcdn.net/img/dd.gif"></a>
    289288                        # <tr><td><nobr><a href="/enx/showvideo/437361/"><img src="//cdn.livetvcdn.net/img/v.gif"></a> <a class="small" href="/enx/showvideo/437361/">Full match record</a></nobr></td></tr>
    290289                        />Full match record<\/a>/ \
     
    294293                                        i = index($0, "href=\"") + 6
    295294                                        j = index(substr($0, i), "\"") - 1
    296                                         newpage = substr($0, i, j)
     295                                        fullmatch_newpage = substr($0, i, j)
     296                                        fullmatch_title = "Full"
    297297                                }
    298298                        }
     
    303303                                        i = index($0, "href=\"") + 6
    304304                                        j = index(substr($0, i), "\"") - 1
    305                                         newpage = substr($0, i, j)
     305                                        highlights_newpage = substr($0, i, j)
     306                                        highlights_title = "Highlights"
     307
    306308                                }
    307309                        }
     
    322324                                                title = title " (" date ")"
    323325                                        }
    324                                         if (full == 1)
     326                                        if (full == 1 && eventinfo == 1)
    325327                                        {
    326                                                 title = title " (Full)"
     328                                                title = title " (Full More)"
    327329                                        }
    328330
     
    338340                                                print title "#" SRC " " SRC " playsrc \x27" newpage "\x27#" pic "#" PICNAME "." piccount ".jpg#" NAME "#0"
    339341                                        else
    340                                                 print title "#" SRC " " SRC " play \x27" newpage "\x27#" pic "#" PICNAME "." piccount ".jpg#" NAME "#111"
    341 
     342                                        {
     343                                                print title " (" fullmatch_title ")#" SRC " " SRC " play \x27" fullmatch_newpage "\x27#" pic "#" PICNAME "." piccount ".jpg#" NAME "#111"
     344                                                print title " (" highlights_title ")#" SRC " " SRC " play \x27" highlights_newpage "\x27#" pic "#" PICNAME "." piccount ".jpg#" NAME "#111"
     345                                        }
    342346                                        score = ""
    343347                                        date = ""
Note: See TracChangeset for help on using the changeset viewer.