Skip to content

Commit

Permalink
Apply xpath parseDate after subScraper (#606)
Browse files Browse the repository at this point in the history
  • Loading branch information
bnkai authored Jun 15, 2020
1 parent 96e6e16 commit f40e234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scraper/xpath.go
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ func (c xpathScraperAttrConfig) applySubScraper(value string) string {
func (c xpathScraperAttrConfig) postProcess(value string) string {
// perform regex replacements first
value = c.replaceRegex(value)
value = c.parseDate(value)
value = c.applySubScraper(value)
value = c.parseDate(value)

return value
}
Expand Down

0 comments on commit f40e234

Please sign in to comment.