FanfictionBot / reddit-ffn-bot

A reddit auto reply bot.
53 stars 18 forks source link

Using as a standalone (non-posting) filter? #114

Open mcepl opened 4 years ago

mcepl commented 4 years ago

Would it be possible to add some switch to the script, so it would work as a standalone filter, which would process for example this input in reStructuredText:

perhaps the closest i got to it was linkffn(6432055), but even that was
more story of a pureblood trying to find his way in the strange world of
muggles then true redemption story of dealing with guilt. Nevertheless,
it is still a very good story.

into this output

perhaps the closest i got to it was `Exile by bennybear`_, but even that was
more story of a pureblood trying to find his way in the strange world of
muggles then true redemption story of dealing with guilt. Nevertheless,
it is still a very good story.

.. _`Exile by bennybear`:
   https://www.fanfiction.net/s/6432055   

(or an equivalent in Markdown, I don’t care that much)