* imdb page scraper helper for people that really need it
This commit is contained in:
parent
6217589f82
commit
97c0b369f3
|
@ -156,7 +156,12 @@ public class IMDbClient implements MovieIdentificationService {
|
|||
|
||||
|
||||
public String scrape(String imdbid, String xpath) throws IOException, SAXException {
|
||||
return selectString(xpath, parsePage(getMoviePageLink(getImdbId(imdbid)).toURL())); // helper for scraping data in user scripts
|
||||
return scrape(getMoviePageLink(getImdbId(imdbid)).toURL(), xpath); // helper for scraping data in user scripts
|
||||
}
|
||||
|
||||
|
||||
public String scrape(URL url, String xpath) throws IOException, SAXException {
|
||||
return selectString(xpath, parsePage(url)); // helper for scraping data in user scripts
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue