At the moment im using an empty folder, that works fine.
But I have a problem, using the tester.
THe program crashes when enabling "buffer edit". And it crashes when I load a file from cache and start the testing.
Error enabling buffer edit:
http://paste.ubuntu.com/365114/
[RELEASE] Scraper Editor (Based on ScraperXML open source C# Library) - Help wanted!
flobbes
Senior Member Posts: 140 Joined: Mar 2009 Reputation: 0 |
2010-01-29 13:00
Post: #101
|
| find quote |
Nicezia
Fan Joined: Nov 2006 Reputation: 0 Location: Montgomery, Alabama |
2010-01-29 21:28
Post: #102
uploading 3.6.0 now should fix that problem
also this version fixes all scraper testing (tv show scraper whould work for both tvshow and tvepisode testing now) ScraperXML Open Source Web Scraper Library compatible with XBMC XML Scrapers I Suck, and if you act now by sending only $19.95 and a self addressed stamped envelop, so can you! ![]()
(This post was last modified: 2010-01-29 23:47 by Nicezia.)
|
| find quote |
flobbes
Senior Member Posts: 140 Joined: Mar 2009 Reputation: 0 |
2010-01-30 18:36
Post: #103
Nice Buffer edit works now.
When testing my own scrapers, I always get: Code: Could not download webpage.The last one translates to: Invalid URI: The URI-syntax is invalid Any idea what the problem could be? |
| find quote |
Nicezia
Fan Joined: Nov 2006 Reputation: 0 Location: Montgomery, Alabama |
2010-01-30 19:26
Post: #104
i need to see the url its trying to download in the way the scraper returns it in order to know why
and if you're trying to use gzip, that's still something i haven't added as of yet, since i don't truly know how to handle gzipped webpages, still learning when it comes to programming internet interaction. ScraperXML Open Source Web Scraper Library compatible with XBMC XML Scrapers I Suck, and if you act now by sending only $19.95 and a self addressed stamped envelop, so can you! ![]()
(This post was last modified: 2010-01-30 19:30 by Nicezia.)
|
| find quote |
flobbes
Senior Member Posts: 140 Joined: Mar 2009 Reputation: 0 |
2010-01-30 23:23
Post: #105
Its a scraper for a german adult site, so not safe for work.
The CreateSearchUrl is: http://e.orgazmik.ch/film/list/dvd/SRCH....SRCHSTR=\1 The scraper (and my others are working fine) with xbmc, but the editor gives my that error message on all my scrapers. The whole scraper can be found here: http://pastebin.com/m72cf8c38
(This post was last modified: 2010-01-30 23:58 by flobbes.)
|
| find quote |
takoi
Fan Posts: 506 Joined: Oct 2009 Reputation: 6 Location: Norway |
2010-02-06 15:57
Post: #106
v3.x isnt working for me, using mono. it crashes right after selecting a scraper folder.
Code: System.InvalidCastException: Cannot cast from source type to destination type. |
| find quote |
filigran
Senior Member Posts: 187 Joined: Oct 2009 Reputation: 0 |
2010-02-07 00:07
Post: #107
The program crashes for me when trying to run just the selected function.
Noticed it happening when just playing around with the program, so nothing is added. Empty scraper, just started the program. Steps to reproduce: 1. Start program, add a function 2. Hit tester tab, select added function 3. Hit "Run selected function" Error code (in swedish, do you need it translated?): Code: ************** Undantagstext **************The first line of this error: Quote:System.NullReferenceException: Objektreferensen har inte angetts till en instans av ett objekt.tells me, in english, "The object reference has not been assigned an instance of an object" There was another crash when opening another scraper that I thought I'd look at for reference, specifically The imdb scraper from svn. Then I got this error, just by opening it: Code: ************** Undantagstext **************The first line of this error: Quote:System.FormatException: Indatasträngen hade ett felaktigt format.tells me, in english, "The input string had the wrong format." - but the input file was named imdb.xml and was a plain text file. Creating my own scraper, saving it as something.xml and then opening something.xml works fine. So perhaps opening something that wasn't made in the program doesn't work? Tell me if you need any other info, system specs etc. Great program otherwise, tried creating a scraper and it made the process alot easier!
(This post was last modified: 2010-02-07 00:09 by filigran.)
|
| find quote |
Nicezia
Fan Joined: Nov 2006 Reputation: 0 Location: Montgomery, Alabama |
2010-02-08 04:38
Post: #108
Quote:The program crashes for me when trying to run just the selected function. Not running just selected function isn't working through my own fault, when i changed the tree structure, i was focused on getting the overall scraper testing to work, and forgot to look over the individual function operations... should be an easy fix. Til then you can always step through using Run selected RegExp, thanks for the heads up on that error, since i never use that particular option it escaped me. Quote:There was another crash when opening another scraper that I thought I'd look at for reference, specifically The imdb scraper from svn. I'm having trouble reproducing this error, but the problem may be that all the includes needed for the scraper do not exist in the scraper folder, if using a svn scraper, also make sure that all the includes from svn are also available in wherever you designate the scraper folder (my suggestion is to keep a separate folder updated with a mirror of the svn, to use when opening scrapers from svn, that's how i do it when testing the editor against svn, i have a completely separate SVN folder that keeps updated with svn on a 6 hour basis, Maybe i should put an option for it to copy SVN includes (to the app folder) locally, and user can toggle use of svn includes at their liesure. ScraperXML Open Source Web Scraper Library compatible with XBMC XML Scrapers I Suck, and if you act now by sending only $19.95 and a self addressed stamped envelop, so can you! ![]()
(This post was last modified: 2010-02-08 04:46 by Nicezia.)
|
| find quote |
Nicezia
Fan Joined: Nov 2006 Reputation: 0 Location: Montgomery, Alabama |
2010-02-08 04:55
Post: #109
ventech Wrote:v3.x isnt working for me, using mono. it crashes right after selecting a scraper folder. I haven't tested against mono in a while, i'll check that out soon, and see that the problem is, it could be as simple as me not accounting for a directory path difference somewhere... btw, as far as linux goes, i plan to be creating a newer version of scraperxml that will be pure c++, and likewise a new version of scraperxml editor, that will be completely gtk+ based, with no need for mono, however since i'm only learning c++ (and its so much different from c# fundamentally) that may be months in finishing, hopefully since the basic application of code will be same, its simply a matter of either creating, or finding the options i need to do the things in c++ ScraperXML Open Source Web Scraper Library compatible with XBMC XML Scrapers I Suck, and if you act now by sending only $19.95 and a self addressed stamped envelop, so can you! ![]() |
| find quote |
Nicezia
Fan Joined: Nov 2006 Reputation: 0 Location: Montgomery, Alabama |
2010-02-08 07:48
Post: #110
Features:
* Added SearchStringEncoding for CreateSearchUrl function * Added CachePersistence capabilities * Update for conformance with XBMC xml conventions * Theoretically fixed crash on run selected function * Miscellaneous bug fixes ScraperXML Open Source Web Scraper Library compatible with XBMC XML Scrapers I Suck, and if you act now by sending only $19.95 and a self addressed stamped envelop, so can you! ![]() |
| find quote |

![[Image: teamumx_sigline.png]](http://www.mediainfoplus.com/images/teamumx_sigline.png)
Search
Help