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

Download handling #463

Closed
Docbroke opened this issue Dec 13, 2017 · 7 comments
Closed

Download handling #463

Docbroke opened this issue Dec 13, 2017 · 7 comments
Labels

Comments

@Docbroke
Copy link
Contributor

How to view / cancel / pause ongoing download without closing vimb ?

@fanglingsu
Copy link
Owner

@Docbroke There is no download manager built into vimb. The only indicator might be the download progress bar at the right of the statusbar. I'm not as interested in putting it into vimb. I think it would be a greater deal to readd the external download feature to allow the user to configure some tool to manage the downloads.

@Docbroke
Copy link
Contributor Author

Docbroke commented Dec 15, 2017

Thank for the reply. Adding external download manager would be great.
I am currently using wget in new terminal window through my external-handler script (using x-hint-command). Is it possible to use handler-add to load all links that starts download, with wget or something like that? There is already an example for starting ftp downloads using wget, if the same can be done for other download links?

@fanglingsu
Copy link
Owner

@Docbroke I think, the handler-add would not work for downloads. Because we can't decide if a URI will start a download or can be shown direct without doing the request and allow webkit to decide if the content can be shown direct ord have to be downloaded.

@fanglingsu
Copy link
Owner

I changed my opinion because of #470. It's not possible to use external downloaders because there is no way to let them participate on the same session. The workaround with thetext cookie file does also not work properly, because this will never contain the session cookies (those live only in webkits memory). So I think having some simple download management in vimb would be a nice feature for many users.

@jun7
Copy link

jun7 commented May 3, 2018

@fanglingsu Hi. Webkit2gkt v2.20 adds APIs to manage cookies. So now it is may possible to use the downloaders. It returns cookies even in the ephemeral mode.
https://webkitgtk.org/reference/webkit2gtk/stable/api-index-2-20.html

I'm happy if below link helps you. Sorry for the dirty commit but see WEBKIT_CHECK_VERSION's sections.
jun7/wyeb@f127cff

@stale
Copy link

stale bot commented Oct 2, 2018

This issue has been automatically marked as stale because it has not had activity within the last 60 days. It will be closed after 7 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Oct 2, 2018
@stale
Copy link

stale bot commented Oct 9, 2018

This issue has been automatically closed because it has not had activity since it was marked as stale. Thank you for your contributions.

@stale stale bot closed this as completed Oct 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants