danny0838 / webscrapbook

A browser extension that captures web pages to local device or backend server for future retrieval, organization, annotation, and edit. This project inherits from legacy Firefox add-on ScrapBook X.
Mozilla Public License 2.0
894 stars 119 forks source link

Unable to capture as a folder on Kiki Browser #295

Closed dhdiu closed 1 year ago

dhdiu commented 1 year ago

latest kiwi Capturing (document) [] https://... Saving data... then unable to continue it dosen't work

danny0838 commented 1 year ago

What is the version of your WebScrapBook?

What is the URL of the web page?

What are your capture settings?

dhdiu commented 1 year ago

The plugin version is the latest, the settings are default but no URL is successful, it may be a problem with my phone, thank you.

danny0838 commented 1 year ago

A quick investigation shows that there's an issue of Kiwi Browser that it cannot download a file or folder under a subfolder of the default download folder. As the default Save captured data as: Folder, Scrapbook folder: WebScrapBook/data, Filename to save: %id% requires data be saved at <default download folder>/WebScrapBook/data/<id>/*, the wrapping folder is always saved as <default download folder>/<id>, which never passes an internal check and causes an infinite downloading loop.

We cannot really fix this issue as it's a limitation of the browser itself. Setting the option Save captured data as to a value other than Folder is a way to quickly circumvent it.

You'd probably also want to change Save captured data to to another value (see the 1. Independent files approach or 3. Browser sidebar approach section of the documentation) as the idea of saving to a subfolder defined by the Scrapbook folder value never works.

We'll do further investigation to find a way to mitigate the issue for a user using such mobile browser.

dhdiu commented 1 year ago

thanks