A webscraper that gets the magic from the etherpump. (palanggana means washbasin in Filipino. )
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
crunk 0740ba4789 added two new arguments --all for entire pad content, --pad for specific pad 4 years ago
README.md last readme fix of the day 4 years ago
palanggana.py added two new arguments --all for entire pad content, --pad for specific pad 4 years ago
pyproject.toml added two new arguments --all for entire pad content, --pad for specific pad 4 years ago
requirements.txt updated the readme. explaining my idea a bit 4 years ago

README.md

      _,  |\  _,         _,  _,  _,         _,
 |/\_/ |  |/ / |  /|/|  / | / | / |  /|/|  / |
 |_/ \/|_/|_/\/|_/ | |_/\/|/\/|/\/|_/ | |_/\/|_/
(|                       (|  (|

As always

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

To experiment further I made this script that can get plaintext from the pads based on the etherpump magic words.

usage:

$ python palanggana.py --magic thisword

will find the pads where __THISWORD__ has been used and get all the lines of text from those pads with that __THISWORD__ in the line. it will get rid of the magic word specified, but if you want to keep the magic you can use.

$ python palanggana.py --magic wordhere --keep