crunk
4 years ago
2 changed files with 39 additions and 0 deletions
@ -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 |
||||
|
``` |
@ -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 |
Loading…
Reference in new issue