Initial commit
Added the first implementation of scraping the website. The "thumbnail" option is disabled in the embeds sent because they are not properly handled on Guilded yet (cropping is wonky). This script should also work for any Discord webhook URLs, but it hasn't been tested. There currently isn't a way to pre-populate the database with hashes unless you manually do it before hand. This is something I'm looking at adding in the future probably.
This commit is contained in:
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM python:slim
|
||||
|
||||
COPY . /lanews
|
||||
|
||||
WORKDIR /lanews
|
||||
|
||||
RUN python3 -m venv venv && \
|
||||
venv/bin/pip install -r requirements.txt
|
||||
|
||||
CMD ["venv/bin/python", "main.py"]
|
||||
Reference in New Issue
Block a user