calvinaquino / LNReader-Android

Light novel reader for android test project collab
Apache License 2.0
119 stars 36 forks source link

Cannot load downloaded pages from linked projects #286

Closed takase1121 closed 6 years ago

takase1121 commented 6 years ago

Even if I enabled the 'save external pages' option the reader will attempt to browse the page every time opening it even if the file is present on phone. Please let the reader check for downloaded pages before attempting to load it online.

Nandaka commented 6 years ago

it does check the local storage first. Unless the linked pages does redirection, then it may cause detection issue. Which linked page cause the issue?

takase1121 commented 6 years ago

http://untuned-strings.blogspot.com/2013/10/allison-i-prologue.html?m=1 ^ this

takase1121 commented 6 years ago

I think the page is either AJAX or contains redirection. I can't find the lines of the novel in the file. Probably thats the cause of the issue.

Nandaka commented 6 years ago

Have you tried to wait until the page is fully loaded? I notice it will trigger 2 save event from the toast message. If you load it from offline from the 1st time, I think it will save the blank page.

Nandaka commented 6 years ago

Spoke too soon. Some pages can be saved successfully, some return null file. Manual save from menu is working though.

On Sat, Sep 22, 2018, 22:06 takase notifications@github.com wrote:

I think the page is either AJAX or contains redirection. I can't find the lines of the novel in the file. Probably thats the cause of the issue.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/calvinaquino/LNReader-Android/issues/286#issuecomment-423746566, or mute the thread https://github.com/notifications/unsubscribe-auth/AAzFAyvPv62r6Z9v3511ZpKc3Ac8tjLAks5udkPlgaJpZM4WyOb_ .

takase1121 commented 6 years ago

Yes it does save as null even if i try 'save external page' at the reader's menu

Nandaka commented 6 years ago

Even after the progress bar is fully loaded? Weird, because I can manually save the page.

takase1121 commented 6 years ago

yes it saves to when i try 'save external page' when i am reading the novel,but when i try 'download all chapters' in the chapter list, the download complete almost instantly and it is not working too

takase1121 commented 6 years ago

Tried another linked novels.it also saves to null. BTW i flashed custom rom so my phone is Android 7.1.2 (lineage os 14.1)

Nandaka commented 6 years ago

Download All Chapter will not works for linked project. External chapter can only be saved after loaded by the web view manuall (or at least I don't know how to do it automatically to save the html pages + images + css + etc..)

takase1121 commented 6 years ago

well in my case my old rom with (probably webkit, Android 4.4) webview managed to download it fine but now my webview cant do it (itll always save to null)