2011-09-03, 17:24
I am desperately trying to implement XBMC web scraping into my 3D Frontend by any means short of diving into the source code of XBMC myself.
After some searching I found a couple projects that seem like they could solve my problem, but I can't get either of them to function properly.
These projects are:
Scrap - http://wiki.xbmc.org/?title=Scrap
and
ScraperXML - http://sourceforge.net/projects/scraperxml/
I can't figure out how to get either of them to function though. I followed the instructions for the Scrap project's command line options, but I think the XML file for the scraper I was testing with was too new for the old Scrap project to recognize. I was unable to find any instructions on how to use ScraperXML, but I received a fatal error every time I launched the binary.
Here is an overview of exactly what I am trying to accomplish:
Purpose - Utilize XBMC scraper XML files to scrape media information from the internet independently from XBMC.
Use - I want to be able to start the tool with a command-line argument such as: scraper.exe imdb.xml "Fight Club"
Then I want the tool to write the results to an output file, such as output.xml, for my frontend to use when extracting the scraped information.
If there is more than 1 possible match to select from, the list of options could be written to the output.xml file instead, at which time my frontend would decide which match to use and once again launch the tool, but this time with the new search string.
SO, does anybody know of a tool that could do this? And if it happens to be ScraperXML or Scrap, could you explain to me how to use it? Any help would be much appreciated. I'm trying to wrap up this project I've been working on for 2 years and this XBMC-powered media info scraping would be the icing on the cake!
After some searching I found a couple projects that seem like they could solve my problem, but I can't get either of them to function properly.
These projects are:
Scrap - http://wiki.xbmc.org/?title=Scrap
and
ScraperXML - http://sourceforge.net/projects/scraperxml/
I can't figure out how to get either of them to function though. I followed the instructions for the Scrap project's command line options, but I think the XML file for the scraper I was testing with was too new for the old Scrap project to recognize. I was unable to find any instructions on how to use ScraperXML, but I received a fatal error every time I launched the binary.
Here is an overview of exactly what I am trying to accomplish:
Purpose - Utilize XBMC scraper XML files to scrape media information from the internet independently from XBMC.
Use - I want to be able to start the tool with a command-line argument such as: scraper.exe imdb.xml "Fight Club"
Then I want the tool to write the results to an output file, such as output.xml, for my frontend to use when extracting the scraped information.
If there is more than 1 possible match to select from, the list of options could be written to the output.xml file instead, at which time my frontend would decide which match to use and once again launch the tool, but this time with the new search string.
SO, does anybody know of a tool that could do this? And if it happens to be ScraperXML or Scrap, could you explain to me how to use it? Any help would be much appreciated. I'm trying to wrap up this project I've been working on for 2 years and this XBMC-powered media info scraping would be the icing on the cake!