2013-01-17, 20:14
I am starting to write my first addon for XBMC (first time with python, too) and I think I may have picked a tough nut to crack: indiemoviesonline.com.
I started with the HOW-TO:Write plugins for XBMC tutorial, but that has not gotten me very far on the scraping this website. So, I am learning about beautiful soup and other parsers. I think I will be able to figure this out, but pointers would be appreciated.
I jumped ahead in the tutorial and that is where my main question lies: how am I going to play the videos.
Inspecting a page on the website (http://www.indiemoviesonline.com/watch-m...fic-warden, I have found this:
When I try the url http://www.indiemoviesonline.com/swf/video/1651 I get "unauthorized direct url access".
Is this going to stop me from playing these videos in XBMC? Or is there something I'm missing that would make this work? Searching Google has not given me any useful information.
Thank you for taking the time to help a NOOB!
I started with the HOW-TO:Write plugins for XBMC tutorial, but that has not gotten me very far on the scraping this website. So, I am learning about beautiful soup and other parsers. I think I will be able to figure this out, but pointers would be appreciated.
I jumped ahead in the tutorial and that is where my main question lies: how am I going to play the videos.
Inspecting a page on the website (http://www.indiemoviesonline.com/watch-m...fic-warden, I have found this:
Code:
<div id="movie_player" class="">
<object id="IndiePlayer" width="637" height="420" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=10,0,0,0" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" type="application/x-shockwave-flash">
<param value="http://www.indiemoviesonline.com/swf/video/1651" name="movie">
<param value="true" name="allowFullScreen">
<param value="always" name="allowScriptAccess">
<param value="c=local&type=rtmp&autostart=false" name="flashvars">
<param value="000000" name="bgColor">
<param value="opaque" name="wmode">
<embed width="637" height="420" wmode="opaque" bgcolor="000000" flashvars="c=local&type=rtmp&autostart=false" allowscriptaccess="always" allowfullscreen="true" type="application/x-shockwave-flash" src="http://www.indiemoviesonline.com/swf/video/1651">
</object>
</div>
When I try the url http://www.indiemoviesonline.com/swf/video/1651 I get "unauthorized direct url access".
Is this going to stop me from playing these videos in XBMC? Or is there something I'm missing that would make this work? Searching Google has not given me any useful information.
Thank you for taking the time to help a NOOB!