Suwayomi / Suwayomi-Server

A rewrite of Tachiyomi for the Desktop
Mozilla Public License 2.0
3.69k stars 196 forks source link

[Feature Request] Support per extension authentication (or persistent cookies) #968

Open luzfcb opened 3 weeks ago

luzfcb commented 3 weeks ago

What feature should be added to Suwayomi?

Some sites that some extensions use to obtain data, now requires authentication to access the chapters and respective images. In that case, to make the image download work in the original Android application, you need to manually go to the WebView button at least once, load the website, log in, and start the update process, and finally, the image download will work correctly.

Does a similar functionality already exist in Suwayomi-Server?

Why/Project's Benefit/Existing Problem

Making Suwayomi-Server capable of executing the extensions and the requests made by them will use cookies or another way to persist the authentication done manually in something similar to the Webview button of the original Android application (that Android application that was forcibly discontinued by the developers)

Robonau commented 3 weeks ago

that functionality currently doesn't exist in Suwayomi no, its allot more complex to implement in Suwayomi than it would have been in tachi due to the server client nature of the application.

if you are not already aware there is a successor to tachi called mihon, not to mention all of the forks that still function.

luzfcb commented 3 weeks ago

Thanks for the info. I didn't know mihon

The stupid way I think this could perhaps be implemented is in Suwayomi's Android app, where we can access something like the WebView button in the original Android app, and then the app captures whatever session files/information is generated and sends it to Suwayomi-Server, who will use it for subsequent requests.

Okay, this will probably be complex to implement.