return true;
}
- @Override
- public String getSourceName() {
- return "FimFiction.net";
- }
-
/**
* Extract the full JSON data we will later use to build the {@link Story}.
*
meta.setAuthor(getKeyJson(json, 0, "type", "user", "name"));
meta.setDate(getKeyJson(json, 0, "type", "story", "date_published"));
meta.setTags(getTags());
- meta.setSource(getSourceName());
+ meta.setSource(getType().getSourceName());
meta.setUrl(getSource().toString());
- meta.setPublisher(getSourceName());
+ meta.setPublisher(getType().getSourceName());
meta.setUuid(getSource().toString());
meta.setLuid("");
meta.setLang("en");
List<Entry<String, URL>> urls = new ArrayList<Entry<String, URL>>();
for (String title : chapterNames.values()) {
- urls.add(new AbstractMap.SimpleEntry(title, null));
+ urls.add(new AbstractMap.SimpleEntry<String, URL>(title, null));
}
return urls;