Apply xpath parseDate after subScraper (#606)

This commit is contained in:
bnkai
2020-06-15 14:38:59 +03:00
committed by GitHub
parent 96e6e16507
commit f40e234748

View File

@@ -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
}