2010-08-31, 23:23
DJXFMA Wrote:I have had some problems with some titles of movies which the scraper should find. But instead of looking for the year given is just takes the first title in the given results in the search php script which this scraper uses.
For example (this is the search script which trying to find the movie...):
http://www.theghost16.nl/MovieMeter/inde...ans+(2005)
It will find:
-. Green Street Hooligans 2(2009)
-. Hooligans(2005)
So far ok. But now heres is the problem I've already given a year to search but it doesn't uses it.. Else it should find only Hooligans (2005) and for some other movies I have had some other problems.. But anyway..
I have made my own search php script so the title and year will be searched so you get an much better match with youre searched title you have given. Also I search for the year so you only get a list with the given year
My script will find:
-. Hooligans(2005)
To use this fix you have to change a line in the moviemeter.xml.
Change this (in moviemeter.xml):
http://www.theghost16.nl/MovieMeter/index.php?movie=
Into his:
http://www.partyravers.eu/scraper/moviemeter/?search=
Save it and try it!
For example purpose:
Wrong: http://www.theghost16.nl/MovieMeter/inde...ans+(2005)
Good: http://www.partyravers.eu/scraper/moviem...ans+(2005)
Wrong: http://www.theghost16.nl/MovieMeter/inde...+hooligans
Good: http://www.partyravers.eu/scraper/moviem...+hooligans
Wrong: http://www.theghost16.nl/MovieMeter/inde...e=ip+man+2
Good: http://www.partyravers.eu/scraper/moviem...h=ip+man+2
Greetz,
DJXFMA
**UPDATE**
For The_Ghost16 you can use my code if you wish to make youre search better then is it alreay is.
The code is:
Ghost16 is hitting 5000 requests a day, so scraping get's difficult.
Can you share your movie.php? I have my own Moviemeter API key....