Fix Verge extractor failing for features
This commit is contained in:
parent
3e6211c9ba
commit
60a2dcd73f
|
@ -14,7 +14,7 @@ defmodule Frenzy.Pipeline.Extractor.TheVerge do
|
|||
|
||||
content =
|
||||
html_tree
|
||||
|> Floki.find("article#content > div:not(.duet--article--lede)")
|
||||
|> Floki.find("main article > div:not(.duet--article--lede)")
|
||||
|> Floki.filter_out(
|
||||
".hidden, .duet--layout--rail, .duet--article--article-pullquote, .duet--article--comments-join-the-conversation, .duet--recirculation--related-list, .duet--article--comments-button, .duet--article--share-buttons"
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue