Google Video in ooba!
#1
hey yall, first post, infact i just joined because i had to share this with you all. i've managed to write a script that accesses parts of the google video site from ooba. it lets you browse through 100 videos in the categories "popular" and "random".

here it is:

Quote:<item>
<title>google video</title>
<menu>
<item>
<title>popular</title>
<url>http://video.google.com/videopopularpage?num=100</url>
</item>
<item>
<title>random</title>
<url>http://video.google.com/videorandom?num=100</url>
</item>
</menu>
<!-- google video -->
<action type="submenu">
<url><![cdata[^http://video.google.com/.*\?num=.*]]></url>
<linkpattern>
<pattern><![cdata[<div class="thumbtitle"> <a href="videoplay\?docid=(?p<url>[^"'<>]+)">(?p<title>[^<>]+)</a>]]></pattern>
<urlformat><![cdata[http://video.google.com/videogvp?docid=\g<url>]]></urlformat>
</linkpattern>
</action>

<action type="submenu">
<url><![cdata[^http://video.google.com/videogvp\?docid=.*]]></url>
<linkpattern>
<pattern><![cdata[url:(?p<url>[^"'<>]+)docid:.*title:(?p<title>[^<>]+)description:.*]]></pattern>
<titleformat><![cdata[play video : \g<title>]]></titleformat>
</linkpattern>
</action>

<action type="play">
<url><![cdata[^http://vp.video.google.com/videodownload.*]]></url>
<titleformat>play video</titleformat>
</action>

</item>

simply add it to your menu.xml file in the ooba script directory.

check it out, edit it etc, lets make it great :d
z
Reply
#2
nice, funny enough i wound up joining this forum for the same reason, i updated ooba to support ctrlatdel-online.com's new layout (which could be found in the other python forum).

great work, and i will be using this tonight!
Reply
#3
nice works fine thanks
Reply
#4
i've added your google video patterns to ooba 1.3 ,,, at the moment i am working on v1.4 and there will be even more google video.
Reply
#5
totally ot

is the feature "tvtome episode guides" still works? because im in the middle of creating a tv.com script that works with the new layout. my vision is an (almost) complete version of the tv.com site with show-, episode-, cast-info/videos.



Check out my XBMC scripts at http://xbmc.ramfelt.se
Reply

Logout Mark Read Team Forum Stats Members Help
Google Video in ooba!0