genious7 / FanFictionReader

An android app that improves browsing Fan Fiction stories on a mobile device
GNU General Public License v3.0
56 stars 24 forks source link

Way to fix story downloading? #75

Closed ghost closed 3 years ago

ghost commented 3 years ago

Since stories can now be opened, is it possible to make it that when clicking download every chapter of story is opened in background in hidden web browser you mentioned and then to save that opened page?

Luminatrix-eng commented 3 years ago

I think you might be asking too much at this stage. Fixing an existing app to circumvent the cloudflare stuff is a lot of work I'm guessing.

One step at a time. :)

genious7 commented 3 years ago

Not really.

The issue is as follows: For viewing, the app accesses the mobile web site (m.fanfiction.net), which is working with the hidden web browser.

For downloading, the app uses the desktop web site (www.fanfiction.net), which is not working with the hidden web browser. It uses the desktop web site to download the story summary, which cannot be downloaded in the mobile version of the web site.

genious7 commented 3 years ago

Managed to solve the issue (downloads should be working now).

On the desktop site, the app was getting the "Wait a few seconds" Cloudflare page and errored out. Adding a small delay before assuming an error solved the issue.

The fix should be available to existing users through the play store momentarily. I'll keep the store listing disabled to new users for now, as there are a few things that are still broken.