readme fix
This commit is contained in:
parent
da2b67f659
commit
076213e63e
1 changed files with 3 additions and 8 deletions
11
README.md
11
README.md
|
|
@ -1,6 +1,4 @@
|
||||||
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 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
|
this is my first python script idk
|
||||||
## How to use
|
## How to use
|
||||||
|
|
||||||
|
|
@ -10,12 +8,9 @@ cp pyvenv.cfg.example pyvenv.cfg
|
||||||
|
|
||||||
replace in that file with your username
|
replace in that file with your username
|
||||||
|
|
||||||
edit systemd stuff to correspond to your file structure and enable them
|
## REGARDING COMMENT PAGES
|
||||||
|
|
||||||
sudo systemctl enable scrape5hr.timer
|
# You will have to manually change the url for the comment page when new comment pages appear. I know, sorry.
|
||||||
|
|
||||||
sudo systemctl start scrape5hr.timer
|
example ```https://toothpastejuice.dreamwidth.org/2061.html?view=flat&page=3#comments```
|
||||||
|
|
||||||
source .venv/bin/activate
|
|
||||||
|
|
||||||
^if i remember correctly
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue