From f907361559561a3591b7998ebee2ac6b1a61cc9f Mon Sep 17 00:00:00 2001 From: crunk Date: Wed, 30 Dec 2020 15:50:56 +0100 Subject: [PATCH] updated the readme. explaining my idea a bit --- README.md | 30 ++++++++++++++++++++++++++++++ requirements.txt | 9 +++++++++ 2 files changed, 39 insertions(+) create mode 100644 requirements.txt diff --git a/README.md b/README.md index e69de29..eca916f 100644 --- a/README.md +++ b/README.md @@ -0,0 +1,30 @@ + + _, |\ _, _, _, _, _, + |/\_/ | |/ / | /|/| / | / | / | /|/| / | + |_/ \/|_/|_/\/|_/ | |_/\/|/\/|/\/|_/ | |_/\/|_/ +(| (| (| + +## 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 wordhere +``` +will find the pads where __wordhere__ has been used and get all the lines of +text from those pads with that __wordhere__ 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 +``` diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..09745fd --- /dev/null +++ b/requirements.txt @@ -0,0 +1,9 @@ +beautifulsoup4==4.9.3 +bs4==0.0.1 +certifi==2020.12.5 +chardet==4.0.0 +idna==2.10 +lxml==4.6.2 +requests==2.25.1 +soupsieve==2.1 +urllib3==1.26.2