more
This commit is contained in:
parent
3fd7b15ccc
commit
da2b67f659
1 changed files with 9 additions and 1 deletions
10
README.md
10
README.md
|
|
@ -1,4 +1,6 @@
|
|||
This scrapes Dreamwidth comments on a specific posts and sends them to a Discord webhook, generating the comment text and a link to the comment in HTML format ```<a href="url">text</a>``` wrapped in backticks. When put on systemd it runs every five hours (don't change that, to be respectful to DW) and if no new comments have been posted since the last one then it returns no comments.
|
||||
|
||||
|
||||
this is my first python script idk
|
||||
## How to use
|
||||
|
||||
|
|
@ -8,6 +10,12 @@ cp pyvenv.cfg.example pyvenv.cfg
|
|||
|
||||
replace in that file with your username
|
||||
|
||||
source .venv/bin/activate
|
||||
edit systemd stuff to correspond to your file structure and enable them
|
||||
|
||||
sudo systemctl enable scrape5hr.timer
|
||||
|
||||
sudo systemctl start scrape5hr.timer
|
||||
|
||||
source .venv/bin/activate
|
||||
|
||||
^if i remember correctly
|
||||
|
|
|
|||
Loading…
Reference in a new issue