Commit Graph

6 Commits

Author SHA1 Message Date
雲華
2ff82d0294 Merge branch 'main' of https://github.com/yunwah/lostark-news-webscraper 2022-01-19 16:18:44 -05:00
雲華
f97f72d18d Updated script to preload hashes and updated message
The script now uses a new .env variable called PRELOAD which is used
to specify whether the database should be preloaded with hashes.
Currently this is configured to use a role from a specific server.
This will be changed at a later date.
2022-01-19 16:15:02 -05:00
雲華
f277839679 fixed returning none as a result returning reverse function
Reverse does everything inplace and does not return a reversed list
hence resulting in a broken script.
2021-08-17 20:24:53 -04:00
雲華
af948965b0 adjust interval to every 5 minutes as a baseline 2021-08-17 20:02:37 -04:00
雲華
aaea16ab99 Implement logging and adjusted database location
Changes include creating the directory and database before the script.
2021-08-17 19:36:26 -04:00
雲華
12bd0027f9 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.
2021-08-17 17:33:52 -04:00