2009-01-09, 01:17
First I will mention that I am reading the plugin tutorial for XBMC and using TV-Shack plugin as a guide.
My code so far: http://pastebin.com/m2442628d
The page that I will scrape(http://www1.nrk.no/nett-tv/): http://www1.nrk.no/nett-tv/tema/20
The Source code of this category page: http://pastebin.com/m7e845e45
The Categories will be: Barn, Distrikt, Dokumentar, Drama, Fakta, Kultur, Livssyn, Mat, Musikk, Natur, Nyheter, På samisk, På tegnspråk, Sport, Underholdning, Ung.(Norwegian site)
But I have only added a few.
My problem at the moment, is to scrape the page, to get the img, url, title, and maybe description.
If someone is able to give some comments on my code, and or help me out with code that I can use. I would higly apprechiate it.
-----------------
Each category will have a list of all programs available(alphabetically). And they will act as links in XBMC and the XBMC player should start streaming/playing the file.
Thanks for all help. :-)
My code so far: http://pastebin.com/m2442628d
The page that I will scrape(http://www1.nrk.no/nett-tv/): http://www1.nrk.no/nett-tv/tema/20
The Source code of this category page: http://pastebin.com/m7e845e45
The Categories will be: Barn, Distrikt, Dokumentar, Drama, Fakta, Kultur, Livssyn, Mat, Musikk, Natur, Nyheter, På samisk, På tegnspråk, Sport, Underholdning, Ung.(Norwegian site)
But I have only added a few.
My problem at the moment, is to scrape the page, to get the img, url, title, and maybe description.
If someone is able to give some comments on my code, and or help me out with code that I can use. I would higly apprechiate it.
-----------------
Each category will have a list of all programs available(alphabetically). And they will act as links in XBMC and the XBMC player should start streaming/playing the file.
Thanks for all help. :-)