Sratim.co.il scraper not working (1 Viewer)

BoomBang85

New Member
March 19, 2011
4
0
Home Country
Israel Israel
Hello,
The Hebrew(IL) scraper for sratim.co.il isn't working.
It seems due to a change in the site. The local group of developers for XBMC chaught that in mid-March and made a compatiable version.
As I understand using their scraper is not an option.
My questions are:
1. Is there an updated version of the scraper? and where can I get it?
2. Can you make a 'sticky' post where all the scrapers detailed?

Keep making the plugin even more awesome!
:D

Specs: I'm using Mediaportal 1.1.3, Moving Pictures 1.1.2.1219 on Windows 7 64bit machine. Sratim.co.il scraper ver. 3.0.11 from 15.10.2010
 

fforde

Community Plugin Dev
June 7, 2007
2,667
1,702
43
Texas
Home Country
United States of America United States of America
Sorry, looks like you are running the latest version at the moment. I will try to take a look at this ASAP though. I have also created a ticket on our bug tracker for this, if you star the issue there you will receive email updates.

As for a sticky, we generally try to do a new release as new scripts are required. There are however a handful of scrapers not included in Moving Pictures and it would probably be beneficial to have a central location to go check for these sorts of things. I think a sticky would not be ideal as this would require one central maintainer, butwe will try to put something together in the near future.
 

sbentin

Portal Member
May 21, 2008
11
2
Israel
Home Country
Israel Israel
Hey, As I'm the one who wrote the script for moving pictures, as well as a script for XMBC I can tell you that Sratim site has been doing changes throught the last two weeks on a daily basis. This is why I have not fixed the script yet. If I'll have the time I hope to do this on the weekend. You can try the Torec.net scraper I wrote, but it might also not work as they have changed their action method from Get to Post. Anyway, you will be able to see the updates here (Also post your problems...):

Downloads - xmbc-torec-scraper - A movie scraper for XMBC working with www.torec.net - Google Project Hosting
 

BoomBang85

New Member
March 19, 2011
4
0
Home Country
Israel Israel
First, I'd like to thank sbentin for fixing the scraper. :D (How do I edit the post as solved?)
Second, I think a sticky would be the best solution but not to host the scrapers files themselves but the links for developers' google codes pages or wherever scrapers' creators host their scrapers.
That's because most users (I believe) will search the scraper in this forum rather than the Moving Pictures project page or search manually for the scraper .xml
 

fforde

Community Plugin Dev
June 7, 2007
2,667
1,702
43
Texas
Home Country
United States of America United States of America
In a few hours we will be releasing a new build with the updated stratim.co.il script. As far as update management, begining with Moving Pictures 1.3 we will have automatic scraper updates, for both scraper scripts included in the default install and others. So in another month or so this will no longer be an issue. If in the meantime someone wants to create a thread to maintain links to existing script updates, I will sticky it, just PM me about it.
 

omriamos

Portal Pro
May 21, 2008
54
4
Home Country
Israel Israel
Hi,

A few years passed, and it seems to stopped working again... Does not return any results from sratim.co.il.
Is there a chance this would be fixed?

Thanks

---
Edit:
I'm looking at the debug log and it looks like the first query is fine:
Code:
03-Feb-2014 03:21:33 Debug [         ScraperNode]: Retrieving URL: http://www.sratim.co.il/browse.php?q=Blackfish&d=full&r=true
However the next pattern is a bit off:
Code:
03-Feb-2014 03:21:34 Debug [         ScraperNode]: name: movie_titles ||| pattern: <a href="view.php\?q=(.{0,90})id=(\d+?)&q=(.{0,90})" title="(.{0,30}): (.{0,90})"> ||| input: [not logged due to size]
While the actual link for the movie in the results page is:
Code:
<a href="view.php?id=1131881&amp;q=Blackfish" title="דג שחור (2013)">

-----------

I fixed the above pattern, and now the script got much further:
Code:
03-Feb-2014 03:46:17 Debug [         ScraperNode]: executing parse: <parse name="movie_titles" input="${search_page:htmldecode}" regex="${rx_search_results}" />
03-Feb-2014 03:46:17 Debug [         ScraperNode]: name: movie_titles ||| pattern: <a href="view.php\?id=(\d+?)&q=(.{0,90})" title="(.{0,30}) (.{0,90})"> ||| input: [not logged due to size]
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Assigned variable: movie_titles.count = 1
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Assigned variable: movie_titles = <a href="view.php?id=1131881&q=Blackfish" title="דג שחור (2013)">
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Assigned variable: movie_titles[0] = <a href="view.php?id=1131881&q=Blackfish" title="דג שחור (2013)">
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Assigned variable: movie_titles[0][0] = 1131881
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Assigned variable: movie_titles[0][1] = Blackfish
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Assigned variable: movie_titles[0][2] = דג שחור
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Assigned variable: movie_titles[0][3] = (2013)
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Assigned variable: titles = <a href="view.php?id=1131881&q=Blackfish" title="דג שחור (2013)">
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Assigned variable: count = 0
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Assigned variable: titles[0] = 1131881
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Assigned variable: titles[1] = Blackfish
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Assigned variable: titles[2] = דג שחור
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Assigned variable: titles[3] = (2013)
03-Feb-2014 03:46:17 Debug [         ScraperNode]: executing add: <add name="counter" value1="${count}" value2="${offset}" />
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Assigned variable: counter = 0
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Assigned variable: movie[0].site_id = Blackfish
03-Feb-2014 03:46:17 Debug [         ScraperNode]: executing parse: <parse name="year" input="${titles[3]}" regex="(\d{4})" />
03-Feb-2014 03:46:17 Debug [         ScraperNode]: name: year ||| pattern: (\d{4}) ||| input: (2013)
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Assigned variable: year.count = 1
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Assigned variable: year = 2013
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Assigned variable: year[0] = 2013
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Assigned variable: year[0][0] = 2013
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Assigned variable: movie[0].year = 2013
03-Feb-2014 03:46:17 Debug [         ScraperNode]: executing parse: <parse name="title" input="${titles[3]}" regex=".{0,30}\|" />
03-Feb-2014 03:46:17 Debug [         ScraperNode]: name: title ||| pattern: .{0,30}\| ||| input: (2013)
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Assigned variable: title.count = 0
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Parse node returned no results... <parse name="title" input="${titles[3]}" regex=".{0,30}\|" />
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Assigned variable: movie[0].title =
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Assigned variable: movie[0].details_url = http://www.sratim.co.il/view.php?id=1131881
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Removed variable: titles[0]
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Removed variable: titles[1]
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Removed variable: titles[2]
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Removed variable: titles[3]
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Removed variable: titles
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Removed variable: count
03-Feb-2014 03:46:17 Debug [         ScraperNode]: Assigned variable: movie.sortby =
03-Feb-2014 03:46:17 Debug [      MovieSignature]: MATCHING: 'blackfish' WITH: '' RESULT: TitleScore=9, YearScore=0, ImdbMatch=False, AlternateTitleUsed=False, AlternateTitle='', AutoApprove=False
03-Feb-2014 03:46:17 Debug [       MovieImporter]: Built MediaSignature: Path= "E:\HTPC\Movies\Blackfish", Folder= "Blackfish", File= "Blackfish.2013.LIMITED.DOCU.720p.BluRay.x264-GECKOS.mkv", Keywords= "Blackfish", Title= "Blackfish", Year= 0, DiscId= "", MovieHash= "bad8c836738ec33b", ImdbId= ""
03-Feb-2014 03:46:17  Info [       MovieImporter]: No exact match for Blackfish.2013.LIMITED.DOCU.720p.BluRay.x264-GECKOS.mkv
03-Feb-2014 03:46:20  Info [       MovieImporter]: Shutting Down Media Scanner Threads...
03-Feb-2014 03:46:20  Info [       MovieImporter]: Shutting Down Path Scanner Thread...
03-Feb-2014 03:46:20  Info [       MovieImporter]: Stopped MovieImporter

You can see that it actually got the correct URL:
"03-Feb-2014 03:46:17 Debug [ ScraperNode]: Assigned variable: movie[0].details_url = http://www.sratim.co.il/view.php?id=1131881 "

However, it crashed just after a few seconds without displaying any results..

Can someone please take it from here and fix this?
I have attached my version of the xml file.
 

Attachments

  • sratim.xml
    8.3 KB
Last edited:

Users who are viewing this thread

Top Bottom