[Web Clipper] How i can construct custom objects

What I’m trying to do

I’m trying to figure out how to use a map filter on an array of strings after an htmlSelector. The map takes an array of objects. How can I turn each of the strings into an object with custom fields?
For example, "<div class=f> <div class=c>" -> {"a":"<div class=f>","b":"<div class=c>"}

Things I have tried

I read the documentation and tried to find out how to construct my custom objects and still didn’t understand.

Hopefully someone can help here, but a lot of action is happening and the pros seem to be in the Obsidian Discord server’s #obsidian-clipper channel. :sailboat:

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.