2010-02-03, 15:21
vdrfan Wrote:Why not just use http://www.lovefilm.se/movieSearch.do?query=<keyword> ?
Like I said earlier:
filigran Wrote:Yeah, I know. But doing a search for "batman", i.e. http://www.lovefilm.se/movieSearch.do?query=batman gives me a few results. If I select some results, and check the DOM with firefox, I see them:
PHP Code:<div id="resultAllMovie">
<div class="resultRow">
<div class="boxContentTiny">
<a href="http://www.lovefilm.se/film/49546-Batman.do"
class="showMovieToolTip" rel="49546">
<strong>Batman</strong> (Action)</a>
</div>
that's the first result.
But checking the source, I get this:
PHP Code:<div id="resultAllMovie"></div>
<div id="pagesMovie"></div>
It's the same if I just wget the page. Am I missing something?
If I search for something that only yields one matching result, like "band of brothers", I get to that movie page directly, and there I can scrape the details. But I need to find the search results too.
Am I just being totally fucking dumb here?