Posts: 369
Joined: Nov 2006
Reputation:
0
2009-05-18, 15:38
(This post was last modified: 2009-05-18, 15:40 by Nicezia.)
I haven't got a clue, i'm still checking all my source code to see why it keeps recreating itself
I haven't figured out a way to clear the function, and for whatever reason, it keeps popping back up
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
that must mean that you get a match on that regexp for some reason. looking at the regexps, it might be you not respecting the "clear" keyword on the expression. clear means we shall clear the dest buffer no matter if the expression matches or not. if you do not respect that, we have a chain already stored in $$5 and shit hits the fan
Posts: 369
Joined: Nov 2006
Reputation:
0
2009-05-18, 18:20
(This post was last modified: 2009-05-18, 18:45 by Nicezia.)
well i'm glad that got cleared up , i was thinking it was impossible to get around
anyway my problem with my clear on fail was i was checking for "regexp.match.group.count > 0" not knowing that it would make groups even if the match wasn't successful
got to get out of the habit of lazy programming!
Posts: 369
Joined: Nov 2006
Reputation:
0
2009-05-20, 02:56
(This post was last modified: 2009-05-20, 02:58 by Nicezia.)
Just wanted to inform everyone that ScraperXML version 1.0 will hit the svn repository tonight at midnight (Central US time), it has full support for all XBMC Movie Scrapers!
There will also be a dll release for windows, and soon to follow after, a mono-library
Posts: 369
Joined: Nov 2006
Reputation:
0
30 minutes late but its up
Posts: 369
Joined: Nov 2006
Reputation:
0
2009-05-20, 14:33
(This post was last modified: 2009-05-20, 14:44 by Nicezia.)
I can honestly say i couldn't have done it without you spiff,
i did find one error in it, the function that i made to clean is getting out all the html entities, but not the nested tags (found thisout cause i tried to run a scraper i made in with my library on XBMC (the debugging messages for scrapers really helps)
so i'm going to have to rewrite the function to remove tags
so version 1.1 soon to be released
And oh, i rewrote the Excalibur scraper, and its working perfectly now. and a few others that weren't working in XBMC for me.
Looking into info on post data now haven't run into a scraper that uses it yet, but I might as well go ahead and make sanctions for it... spoof is already supported.
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
allmusic is a poster iirc. asiandb is a movie scraper posting
Posts: 369
Joined: Nov 2006
Reputation:
0
Post method handled now, any other methods on downloading pages i need to know about that are supported in XBMC?
Posts: 12,706
Joined: Nov 2003
Reputation:
129
spiff
Team-Kodi Member
Posts: 12,706
nope, post and submit (i.e. no post) are the two forms we support