2010-10-15, 12:10
skila Wrote:Err, plugin makers, I don't know if you are interested, but I did some hacking of your code to try and add in browsing for TVShows in YouTube.
http://www.megaupload.com/?d=BL4T84WH
I created a YouTubeScraperShows python file which currently extends the YouTubeScraperCore class in order to avoid messing with that. The code currently allows me to list show categories, browse these for shows and then play individual episodes. Currently the scraper for episodes only scrapes the "current season" and does not take the paging into account, but you are welcome to the code for what it's worth.
The other changes - search for "SKILA_MODIFIED"
YouTubeNavigation.py - uses YouTubeScraperShows rather than YouTubeScraperCore, adds in a category for the scraper "shows", modifies scrape & parseFolderList to use the scraper called "shows".
YouTubeCore - added urls for "shows" and "show" (sorry missed off the "SKILA_MODIFIED" bit)
language XML: add "TVShows" string
Let me know if it's a pile-o-sh**e or any use - it was hacked up fairly quickly
Hi, haven't had time to look at the code yet, but i will look into integrating it into the scraper tonight