Various improvements & Epub support
This commit is contained in:
@@ -235,6 +235,16 @@
|
||||
"requiresJavaScript": true
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
"wanderinginn.com": {
|
||||
"story": {
|
||||
"title": "h1.entry-title",
|
||||
"author": "pirateaba",
|
||||
"content": ".entry-content",
|
||||
"summary": "meta[property='og:description']",
|
||||
"summaryAttribute": "content"
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -329,6 +339,10 @@
|
||||
"fanfiction.net": {
|
||||
"note": "Older site with simpler HTML structure",
|
||||
"warning": "Known to block IPs for aggressive scraping"
|
||||
},
|
||||
"wanderinginn.com": {
|
||||
"note": "WordPress-based site with consistent structure",
|
||||
"author": "All stories by pirateaba - uses text pattern matching for content extraction"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
export interface SiteConfig {
|
||||
story: StorySelectors;
|
||||
authorPage: AuthorPageSelectors;
|
||||
authorPage?: AuthorPageSelectors;
|
||||
}
|
||||
|
||||
export interface StorySelectors {
|
||||
@@ -13,6 +13,7 @@ export interface StorySelectors {
|
||||
multiPage?: MultiPageConfig;
|
||||
titleFallback?: string;
|
||||
titleFallbackAttribute?: string;
|
||||
contentFallback?: string;
|
||||
titleTransform?: string;
|
||||
summaryAttribute?: string;
|
||||
coverImageAttribute?: string;
|
||||
|
||||
Reference in New Issue
Block a user