Extract player from a website stream - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154) +---- Thread: Extract player from a website stream (/showthread.php?tid=199666) |
Extract player from a website stream - thejokerbox - 2014-07-10 Hello guys , I want to know how to extract a player from a website stream . I need to go to url first then extract the player with a regex . The stream source is not a rtmp , I think It 's a xml source . I need a python script with a regex for extract this player from a url . This is a player code found on the site : <object type="application/x-shockwave-flash" data="/ptvFlash/unifiedplayer/adaptive_vod/release/UnifiedPlayer43.swf" width="960" height="540" id="videoPlayer" style="visibility: visible;"><param name="wmode" value="transparent"><param name="allowScriptAccess" value="always"><param name="base" value="/flash/unifiedplayer/"><param name="bgcolor" value="#000000"><param name="allowFullScreen" value="true"><param name="flashvars" value="configXML=/configXml/event/true&resourceLocalePath=/ptvFlash/unifiedplayer/assets/resources/&basePath=/&selectedBandwidth=med&eventId=95555&partnerId=4444&onStreamEndJSCall=playNextEvent&onStreamEventEndedJSCall=playNextEvent&setPlayerType=dvr&locale=fr_FR"></object> Thanks |