python: xbmc youtube parser

view full story

http://www.linuxquestions.org – i wrote a youtube video parser for an xbmc addon that i am proud of. here is the relevent code snippit that i would like to share: Code: [liveuser@localhost ~]$ python Python 2.7.5 (default, May 16 2013, 13:44:12) [GCC 4.8.0 20130412 (Red Hat 4.8.0-2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import urllib,urllib2,sys,re#,xbmcplugin,xbmcgui,xbmcaddon,xbmc >>> #def playvid(url): >>> html=urllib2.urlopen('http://www.youtube.com/watch?v=0vf0Z_zPN1c').read().replace(",",&quo (HowTos)