Changeset 24753 for titan/plugins/tithek/youtube.h
- Timestamp:
- Nov 5, 2013, 12:20:52 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/plugins/tithek/youtube.h
r23014 r24753 19 19 } 20 20 21 /* spox.com 22 23 http://www.spox.com/de/sport/ussport/nba/live-stream/1310/miami-heat-washington-wizards-frank-buschmann.html 24 grep code: 25 <div id="spxliveplayer"><iframe frameborder="0" width="640px" height="360px" scrolling="no" src="http://www.youtube.com/embed/SjMEn0d6ByU" id="spxliveiframe" ></iframe></div> 26 27 and get to youtube 28 */ 29 21 30 tmpstr = gethttp(ip, path, 80, NULL, NULL, 10000, NULL, 0); 31 // writesys("/var/usr/local/share/titan/plugins/tithek/youtube_tmpstr", tmpstr, 0); 32 22 33 if(flag == 1) 23 34 { 24 25 if(ostrstr(tmpstr, "status=fail&") == NULL) 35 if(ostrstr(tmpstr, "&hlsvp=") != NULL) 36 { 37 printf("found NBA1\n"); 38 streamurl = string_resub("&hlsvp=", "&", tmpstr, 0); 39 string_decode(streamurl,0); 40 string_decode(streamurl,0); 41 string_decode(streamurl,0); 42 string_decode(streamurl,0); 43 string_decode(streamurl,0); 44 string_decode(streamurl,0); 45 } 46 else if(ostrstr(tmpstr, "status=fail&") == NULL) 26 47 { 27 48 struct splitstr* ret1 = NULL;
Note: See TracChangeset
for help on using the changeset viewer.