usesql / roadmap

Use SQL across your CSVs, Google Sheets, APIs, Airtables, and more!
https://www.usesql.com
1 stars 0 forks source link

Query HTML pages by Selector #28

Open worldoptimizer opened 3 years ago

worldoptimizer commented 3 years ago

💡 For general support requests and bug reports, please email support@usesql.com or check docs.usesql.com

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Making the product very generic and useful to extract data from webpages

Describe the solution you'd like A clear and concise description of what you want to happen.

I'd like to be able to define a CSS selector for a repeating element I'd like to define child selectors and a getter to populate certain fields

Example:

Main Selector:

content .Cards

h1 --> content --> Name p:nth-child(1) --> content --> Jobtitle p:nth-child(2) --> content --> Contact img --> attribute:src --> picture

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Writing a custom script that create a JSON to feed to useSQL Using a "web scraper" that creates a JSON to feed to useSQL

Additional context Add any other context or screenshots about the feature request here.

Nope