302303304305306307308309
} Bing.setQuery(query, site); // the resulting query will be Bing.doWork(); ArrayList<String> urls = Bing.getURLs(); dataSource = ds == DataSources.Amazon ? new AmazonSource( urls.get(0)) : new EpinionSource(urls.get(0)); } }