- Timestamp:
- 11/14/17 13:07:46 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/mediathek/localparser_secret/sportsondemand.sh
r41163 r41164 192 192 videos() 193 193 { 194 if [ ! -e "$TMP/$FILENAME.list" ]; then194 # if [ ! -e "$TMP/$FILENAME.list" ]; then 195 195 $curlbin -o - $URL/$PAGE | awk -v SRC=$SRC -v NAME=$NAME -v PICNAME=$PICNAME \ 196 196 ' … … 254 254 j = index(substr($0, i), "\"") - 1 255 255 newpage = substr($0, i, j) 256 if (newpage ~ /<font color=/)257 {256 # if (newpage ~ /<font color=/) 257 # { 258 258 eventinfo = 0 259 }259 # } 260 260 261 261 i = index($0, "<b>") + 3 … … 292 292 } 293 293 # <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> 294 # 295 #<tr><td><nobr><img src="//cdn.livetvcdn.net/img/v.gif"> <a class="small" href="/enx/showvideo/524797/">Full match record</a></nobr></td></tr> 294 296 />Full match record<\/a>/ \ 295 297 { … … 302 304 } 303 305 } 306 # 304 307 />Highlights<\/a>/ \ 305 308 { … … 337 340 title = title " (Event)" 338 341 } 342 else 343 title = title " (List)" 339 344 340 345 if ( pic == "" ) … … 346 351 # 25. in naechste zeile springen 347 352 # 26. \x27 = single quotes 348 if(eventinfo == 1)353 # if(eventinfo == 1) 349 354 print title "#" SRC " " SRC " playsrc \x27" newpage "\x27#" pic "#" PICNAME "." piccount ".jpg#" NAME "#0" 350 else351 {355 # else 356 # { 352 357 if (fullmatch_title != "") 353 358 print title " (" fullmatch_title ")#" SRC " " SRC " play \x27" fullmatch_newpage "\x27#" pic "#" PICNAME "." piccount ".jpg#" NAME "#111" 354 359 if (highlights_title != "") 355 360 print title " (" highlights_title ")#" SRC " " SRC " play \x27" highlights_newpage "\x27#" pic "#" PICNAME "." piccount ".jpg#" NAME "#111" 356 }361 # } 357 362 score = "" 358 363 date = "" … … 370 375 # 29. schreibe alles in die list datei 371 376 ' >$TMP/$FILENAME.list 372 fi377 # fi 373 378 # 30. gebe titan den list namen mit pfad zurueck 374 379 echo "$TMP/$FILENAME.list"
Note: See TracChangeset
for help on using the changeset viewer.