And what if that's not actually a scraper? The point is the data that are
used to create a Film are totally independent of how they're fetched.
On 6 Dec 2013 12:36, "Tom Spurling" <notifications@github.com> wrote:

> In
> src/main/java/org/atlasapi/remotesite/wikipedia/television/TvBrandHierarchyExtractor.java:
>
> > +import com.google.common.base.Strings;
> > +import com.google.common.collect.ImmutableList;
> > +import com.google.common.collect.Maps;
> > +
> > +public class TvBrandHierarchyExtractor implements ContentExtractor<ScrapedFlatHierarchy, TvBrandHierarchy> {
> > +    private static final Logger log = LoggerFactory.getLogger(TvBrandHierarchyExtractor.class);
> > +
> > +    @Override
> > +    public TvBrandHierarchy extract(ScrapedFlatHierarchy source) {
> > +        NavigableMap<Integer, Episode> episodes = Maps.newTreeMap();
> > +        Map<String, Series> seasons = Maps.newTreeMap();
> > +
> > +        Article brandArticle = source.getBrandArticle();
> > +        Brand brand = extractBrand(brandArticle, source.getBrandInfo());
> > +
> > +        for(EpisodeListScraper.Result scrapedEpisode : source.getEpisodes()) {
>
> It'll still be an EpisodeListScraper, but EpisodeListScraper will become
> an interface.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/atlasapi/atlas/pull/419/files#r8159898>
> .
>