You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be nice to skip the cloud syncing and whatever and just directly import files via Browse & Access, I think.
The URL structure for the individual files is reasonable e.g. http://192.168.1.100:8089/Note/test.note however the browsing index seems to be a messy HTML thingie that would need to be parsed.
function extractTableUrls(): string[] {
const table = document.getElementById('item-container') as HTMLTableElement;
const urls: string[] = [];
if (!table) {
return urls; // Handle case where table element not found
}
const rows = table.querySelectorAll('tr');
for (const row of rows) {
const anchor = row.querySelector('a[href]');
if (anchor) {
urls.push(anchor.href);
}
}
return urls;
}
// Example usage
const extractedUrls = extractTableUrls();
console.log(extractedUrls); // This will print an array of extracted URLs
The text was updated successfully, but these errors were encountered:
This is 2 months old, so not sure if still an open issue. I am accessing files through port 8089 in a personal project and would be happy to share code.
I haven't looked yet at Obsidian, but planning to take advantage of that tool in the near future. Thank you for your contributions to the SN community!
It would be nice to skip the cloud syncing and whatever and just directly import files via Browse & Access, I think.
The URL structure for the individual files is reasonable e.g.
http://192.168.1.100:8089/Note/test.note
however the browsing index seems to be a messy HTML thingie that would need to be parsed.Example table:
Guess at a simple scraper:
The text was updated successfully, but these errors were encountered: