GithubHelp home page GithubHelp logo

forwantofanail's Introduction

Current usage: python selenium_dl.py --skip-image If Cloudflare keeps asking you to prove you're a human (and this tends to happen in a loop recently), simply copy and paste the URL into a new tab manually, exit the browser, and restart the program again.

Note: Please provide the path to your chrome executable in selenium_dl.py. This program is untested on windows, so in case you get an error, please try to manually override the DATA_DIR variable.

Note2: Requires python 3.10 (for match-case syntax)

Note3: Please use the --skip-image option with selenium_dl.py

Disclaimer: The file res/ffnet_icon.png belongs to FictionPress and not to me. It is provided here as a sample. This program is not affiliated with FictionPress or fanfiction.ne in any way.

Dependencies:

  • Qt5
  • html5lib
  • undetected_chromedriver
  • cloudscraper (unused for now)
  • Selenium (with chromedriver) [optional]

Current Capabilites:

  • Downloading stories
  • Basic Library
  • Rudimentary Reading

To add:

  • Custom tagging and filtering [in-progress/half-done]
  • Bulk downloads

Screenshot(s)

Downloads tab: Reader tab: Details tab: Library tab: Sample metadata:

forwantofanail's People

Contributors

sanskarchand avatar

Stargazers

 avatar

Watchers

 avatar  avatar

forwantofanail's Issues

Improve fic parser

The current fic parser is spectacularly bad - it's full of short-term fixes built up upon what was already a very stupidly made parser. Right now, to accommodate any possibility (e.g. fic has no followers, or is a one-shot), we need a new conditional branch. It's hard to read, hard to improve, and, above all, spiritually offensive.

Update and bookmarks

Allow updates and bookmarks.

  1. Since ffnet is using cloudflare, this will be tough to do seamlessly.
  2. The GUI reader should continue from where the reader left off.

Better serialization

The current serializer (and deserializer) enumerates all field explicitly. This is horrifyingly bad.

Should use a dataclass (with as_dict) or something.

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.