GithubHelp home page GithubHelp logo

Comments (3)

JimmXinu avatar JimmXinu commented on September 22, 2024

Not promising I'm going to do it, but here's my initial thoughts:

FanFicFare's mechanism for getting story URLs from a page is deliberately pretty general--fetch page, search for valid stories. But as you've noticed, that can get additional links sometimes, depending on site and page.

There is additional complexity in the code for some sites for series pages using the Calibre plugin version's anthology feature, but it's not really helpful for your case, or available in FFF's CLI.

The adapter_fimfictionnet.py code could probably override the default implementation of base_adapter.get_urls_from_page() with one that recognizes book shelf URLs and scrapes only the list. And/Or the base implementation could be modified to allow for an additional hook for that. If the list can be paginated when it gets long, that would increase the complexity. I don't know anything about the API off hand.

from fanficfare.

EpicLPer avatar EpicLPer commented on September 22, 2024

I've read further about the API and so far it's pretty private, one can ask the Admin of FimFiction to request access but not sure if scraping stories is going to be greenlit ^^"
If another method would work then I guess it's the safer option.

from fanficfare.

nerdguy1338 avatar nerdguy1338 commented on September 22, 2024

I've had this exact problem.

Load the bookshelf in a browser, switch to card mode, and use an auto scrolled to scroll to the bottom slowly, letting each page load as it goes. Then repeat every x days.

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.