GithubHelp home page GithubHelp logo

Comments (8)

JimmXinu avatar JimmXinu commented on July 3, 2024

Can you provide some example story URLs?

from fanficfare.

lord-binder avatar lord-binder commented on July 3, 2024

I admit, there are not many such deviations, and I downloaded the one I needed manually and lost the link, however, here is an example of a picture with a similar flag, the essence is the same
https://www.deviantart.com/heavnsent/art/watchers-only-psd-16-993358966

from fanficfare.

JimmXinu avatar JimmXinu commented on July 3, 2024

Your suggested solution (add always_login option for deviantart) it's the best solution for this 'story'. It's better addressed by automatically doing login when it's a 'Watchers-Only Deviation'.

Adding always_login option isn't difficult, but I hesitate to make code changes without test cases to make sure it addresses the issue at hand.

from fanficfare.

lord-binder avatar lord-binder commented on July 3, 2024

Yeah, as i see it will solve the problem.

Moreover, the handler for this flag is already present in the code, but does absolutely nothing.
Apparently this block is not needed with the current changes.

    if self.isWatchersOnly(data):
                raise exceptions.FailedToDownload(
                    'Deviation is only available for watchers.' +
                    'You must watch this author before you can download it.'
                )

For now I just added your solution to my copy of the plugin myself, when it becomes possible to try it I will let you know.

from fanficfare.

lord-binder avatar lord-binder commented on July 3, 2024

It is really difficult to find such cases when you are looking specifically, however, I found one such author, with a closed collection.
What’s strange is that on the first try, everything worked, the stories were downloaded. However, the second attempt ended in failure.
Moreover, I deleted some of the first, successful downloads and tried to download again and they also began to download empty.

from fanficfare.

lord-binder avatar lord-binder commented on July 3, 2024

And here is a link to one of the stories in this collection, because if you don’t subscribe to the author, even the collection itself will be empty.

from fanficfare.

JimmXinu avatar JimmXinu commented on July 3, 2024

Okay, thanks.

From what I see, the adapter noticing and asking for login when it needs is still the better answer for story download. I've pushed some more changes that streamline that some more so it shouldn't login more than once when doing multiple stories.

I've posted test versions in the usual places.

from fanficfare.

lord-binder avatar lord-binder commented on July 3, 2024

Okey, let's say, that problem fixed for now.

from fanficfare.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.