GithubHelp home page GithubHelp logo

kiharilion / fapm Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 1.0 133 KB

Downloads private messages from FurAffinity and formats them into conversations with individual users.

License: BSD 3-Clause "New" or "Revised" License

Python 78.89% HTML 21.11%
python furaffinity furry

fapm's Introduction

FurAffinity Private Message Downloader

Downloads private messages from FurAffinity, splits them into conversations with individual users, and generates an HTML document for each conversation that can be viewed in a web browser.

Suggestions and improvements are welcome!

Setup Instructions for Windows

Requirements

Python 3.6 (or higher)

Setup

These instructions assume that python.exe's directory is in your %PATH%, and that the version of Python it launches meets the requirement shown above.

With FAPM as the current working directory, enter the following commands:

$ python -m venv venv
$ venv\Scripts\activate
$ pip install -r requirements.txt

Setup Instructions for Linux

Requirements

python3.6 (or higher)

Setup

With FAPM as the current working directory, enter the following commands:

$ python3 -m venv venv
$ source venv/bin/activate
$ pip install -r requirements.txt

First Run

You can now run the script for the first time:

$ python -m fapm --update

If you have a lot of private messages, it will take a long time for the script to complete. However, when you run the script again at a later time, it will only need to download new messages that have been sent or received in the meantime.

The script will create an index.html file in the FAPM directory, which will include links to all of your conversations. Individual conversations are saved in the html directory, but you will find it more convenient to use the index rather than opening them one by one.

Subsequent Runs

When you wish to download new messages at a later time, remember to cd into the FAPM directory and activate the virtual environment (as you did during setup) before running the script.

If you simply want to try the various formatting options with messages you have already downloaded, do not include the --update option; this will save you a lot of time.

Color Text

If your terminal emulator supports ANSI escape codes, you can set $FAPM_ANSI to 1 for more colorful and readable text output.

fapm's People

Contributors

kiharilion avatar l-udo avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

l-udo

fapm's Issues

Failing at python3 -m fapm --update

running:

python3 -m fapm --update

returns

Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/home/ludo/FAPM/fapm/__main__.py", line 22, in <module> db.Model.metadata.create_all() TypeError: MetaData.create_all() missing 1 required positional argument: 'bind'

Nobara os (Arch)

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.