![]() |
How is the "year" scraped in tv series?? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32) +--- Forum: Scrapers (https://forum.kodi.tv/forumdisplay.php?fid=60) +--- Thread: How is the "year" scraped in tv series?? (/showthread.php?tid=60078) |
How is the "year" scraped in tv series?? - KoTiX - 2009-10-21 Hi all, I'm writing an italian scraper for tv series and looking at all the existing tv scrapers it seems to me that there is not a RegExp that searches the year. Even if I make a specific RegExp for it, it's not considered by xbmc, so I'd like to know how xbmc find out the year. Tnx in advance ![]() - spiff - 2009-10-21 shows and episodes do not have any 'year' attribute. shows have <premiered> and episodes have <aired> - KoTiX - 2009-10-21 This means that the premiered and aired date format dd/mm/yyyy need to be yyyy/mm/dd or something like that? - spiff - 2009-10-21 we should support both schemes, if not i'll fix that. - KoTiX - 2009-10-21 Thanks - I'll appreciate that ![]() - KoTiX - 2009-10-23 I managed to retrieve the date in the yyyy/mm/dd and now the year is displayed correctly, so it's surely an xbmc bug. Here is my log now: Code: GetDetails returned <details> Tnx in advance if somebody fix it. ![]() - spiff - 2009-10-23 so just feed some xml with <premiered>10.01.2006</premiered> and it fails? i'm stupid i need it simple to reproduce ![]() - KoTiX - 2009-10-23 Yes, it fails showing 2009 instead of 2006. Maybe it's easyer if you try out my scraper with Italian (european??) date format dd/mm/yyy: http://www.2shared.com/file/8631134/1cc07205/movieplayerit-TV.html and then this is the same but with (US??) yyyy/mm/dd date format: http://www.2shared.com/file/8631136/f2ce1329/movieplayerit-TV-US_date.html - spiff - 2009-10-23 exactly what i was fishing for ![]() r23943 - KoTiX - 2009-10-23 Tnx man ![]() |