-
Notifications
You must be signed in to change notification settings - Fork 451
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: gothamist extractor #151
Conversation
'div.image-left': 'figure', | ||
'.image-left i': 'figcaption', | ||
'div.image-right': 'figure', | ||
'.image-right i': 'figcaption', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wonder if we can simplify the transform, but I'm not sure if we can.
I've made some updates to generalize some of the selectors. |
@@ -11,7 +11,8 @@ export const GothamistComExtractor = { | |||
|
|||
title: { | |||
selectors: [ | |||
'.entry-header h1', | |||
'h1', | |||
'h1.entry-header', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be .entry-header h1
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm... ok that one should probably be left alone, there's another h1 on the page.
…er h1 on the page
No description provided.