redtapemedia Wrote:Also, just played around briefly with your editor, but how does testing work? Is there a way I can just specify a movie name and then have it step through the scraper? Managed to get it to step through one function by pasting in the HTML of a website, but I can't get it to go through the entire thing.
ah not til i release the version i'm working on at the moment. currently you can only throw information at it on a per function basis....
actually if you start with the Create search results function you can step through a scraper quite easily, just (making sure you have version 2.15 which is up for download at my sourceforge ScraperXML site) click the Set Buffers checkbox in the tester, change one of the buffers to 1 - using the numeric up/down control on the left, type in the name and press url encode then set, and then run or step through the CreateSearchUrl Function copy and paste the return to the url textbox in the tester, and pres download to $$1, then run the getsearchresults function, from the details there copy one of the results url to url textbox change one of the buffers to $$2 and put in the id (if provided by the search results, and in the $$ put in the url of the page being downloaded, press download to $$1 and then execute the function or walk through it) my next release will have the ability to do this automatically.
redtapemedia Wrote:Another thing that would be useful to a regular expression noob like me is context highlighting of regular expressions, similiar to how http://gskinner.com/RegExr/ does it.
Thanks for all your hard work.
That's going to be some work there (I am STILL an amateur coder), but i'll work on it.
redtapemedia Wrote:I've been tearing my hair out for the last week trying to modify the IMDB scraper to return rotten tomatoes ratings, so creation of include files support would greatly benefit me.
the include files are a new feature coming to XBMC, its scraper functions that can be shared amongst scrapers, (Read the last few posts between me and spiff above).