2009-10-04, 03:36
Hi, it's the first time I'm trying something with this python or anything like this so I have some noob questions.
1. I'm trying to get info from a site , so this is what i wrote:
match=re.compile('onclick="return aQ('The Terminator')').findall(link)
I'm trying to get the words "The Terminator" with (.+?) but can't because of the (') symbols.
How to do this?
2. Is it possible to get a list of movies from a site (after I get the first thing right) and connect it with the movie library in XBMC?
for example getting "The Terminator" from the site and when choose it will play the movie on your computer.
Is there any plugin that do this so I can look at how it's done?
Thanks.
1. I'm trying to get info from a site , so this is what i wrote:
match=re.compile('onclick="return aQ('The Terminator')').findall(link)
I'm trying to get the words "The Terminator" with (.+?) but can't because of the (') symbols.
How to do this?
2. Is it possible to get a list of movies from a site (after I get the first thing right) and connect it with the movie library in XBMC?
for example getting "The Terminator" from the site and when choose it will play the movie on your computer.
Is there any plugin that do this so I can look at how it's done?
Thanks.