Skip to content
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

Feature Request: Hierarchically structured plucked data #9

Open
grimnight opened this issue May 11, 2022 · 0 comments
Open

Feature Request: Hierarchically structured plucked data #9

grimnight opened this issue May 11, 2022 · 0 comments

Comments

@grimnight
Copy link

Assuming following config file:

# URL: https://www.pogdesign.co.uk/cat/
[[pluck]]
name = "day"
activators = ['href="./day/', 'title="']
deactivator = '"'

[[pluck]]
name = "show"
activators = ['<p data-episode', 'summary" >']
deactivator = '</a>'

[[pluck]]
name = "episode"
activators = ['<a href="', 'font-size: 0.65rem;">']
deactivator = '</a>'

It is possible to get the individual pieces of information from a webpage ("date", "show" and "episode"), but it is not hierarchically structured.

I would like to request a feature that allows to get the plucked data in a hierarchical structure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant