Changeset 38932 for titan/mediathek/localparser_secret/bs.sh
- Timestamp:
- 09/21/16 20:20:07 (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/mediathek/localparser_secret/bs.sh
r37466 r38932 13 13 curlbin="curl -k -s" 14 14 15 rm -rf $TMP > /dev/null 2>&115 #rm -rf $TMP > /dev/null 2>&1 16 16 mkdir $TMP > /dev/null 2>&1 17 17 … … 203 203 } 204 204 205 206 ################### 207 # in_hoster 208 ################### 209 #<div id="video_actions"> 210 # <div> 211 # <a href="http://vivo.sx/dcd747a9af" target="_blank"><span class="icon link_go"></span> Link zum Originalvideo</a> 212 # </div> 213 # </div> 214 # <br style="clear:both;"/> 215 216 ################### 217 # in_hoster_iframe 218 ################### 219 #<iframe scrolling='no' frameborder='no' width='630' height='390' allowfullscreen='ture' webkitallowfullscreen='true' mozallowfullscreen='true' src='https://openload.co/embed/r3Qxa6zWdwM/Die.Simpsons.S01E01.Es.weihnachtet.schwer.German.DVDRiP.XviD.iNTERNAL-UTOPiA.mkv'></iframe> 220 # <div id="video_actions"> 221 # <div> 222 # <a href="javascript:alert('Nicht möglich');" target="_blank"><span class="icon link_go"></span> Link zum Originalvideo</a> 223 # </div> 224 # </div> 225 # <br style="clear:both;"/> 226 205 227 hoster() 206 228 { … … 211 233 } 212 234 213 /< div id=\"video_actions\">/ { in_hoster= 1214 next235 /<iframe scrolling=/ { in_hoster_iframe = 1 236 prew 215 237 } 216 238 217 / <a href=\"/ { if (in_hoster== 1) {218 i = index($0, " <a href=\"") + 9219 j = index(substr($0, i), " \"") - 1239 /src=/ { if (in_hoster_iframe == 1) { 240 i = index($0, "src=") + 5 241 j = index(substr($0, i), ">") - 2 220 242 url = substr($0, i, j) 221 222 243 i = index($0, "<a href=\"") + 16 223 244 j = index(substr($0, i), "/") - 1 … … 231 252 } 232 253 254 /<div id=\"video_actions\">/ { in_hoster = 1 255 next 256 } 257 258 /<a href=\"/ { if (in_hoster == 1 && in_hoster_iframe == 0) { 259 i = index($0, "<a href=\"") + 9 260 j = index(substr($0, i), "\"") - 1 261 url = substr($0, i, j) 262 263 i = index($0, "<a href=\"") + 16 264 j = index(substr($0, i), "/") - 1 265 title = substr($0, i, j) 266 267 # print "Originalvideo#" url "#http://atemio.dyndns.tv/mediathek/menu/default.jpg#default.jpg#" NAME "#140" 268 # print title "#" url "#http://atemio.dyndns.tv/mediathek/menu/" title ".jpg#" title ".jpg#" NAME "#14" 269 print url 270 } 271 next 272 } 273 233 274 /<\/div>/ { in_hoster = 0 275 in_hoster_iframe = 0 234 276 next 235 277 }
Note: See TracChangeset
for help on using the changeset viewer.