Skip to content

Refactor parser to be more easily configurable #1

Description

@dsingleton

After adapting this repo to export journals for a different site there are some clear common behaviours, and the manual tweaks could be refactored into injectable configuration.

Primarily in the parser where matchers could be passed in as an object of anonymous functions that take the cheerio object as their argument, like: key: $ => $.find('.selector').text()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions