Question: It is a web scaping/filtering/logging bot that constantly watches and logs certain information containing keywords from a website, then automatically posts the information into a

 It is a web scaping/filtering/logging bot that constantly watches and logs certain information containing keywords from a website, then automatically posts the information into a discord channel.


The website is: "https://osrsportal.com/shooting-stars-tracker"


Keywords from each category from webpage:

Time: "1m ago" "2m ago" "3m ago" "4m ago" "5m ago" Location: "Ardougne Monastry", "East Lumbridge Swamp mine", "Al Kharid mine", "West Falador mine", "East Falador bank", "Draynor" Tier: "9" "8" "7" "6" World: All world numbs

Essentially,. when a new star is documented on that website, it'll log particular stars that match the criteria above in a discord channel in this format. I want it to watch the website in 3 minute intervals and to automatically post a message similar to the photo below once a star matches the criteria. Example

Today at 9:25 PM Time: 3m ago Location: East Lumbridge Swamp Mine

What I'm needing help with is ensuring my code works, and how to properly set it up within a file in the hosting service. I am using pebblehost to host my bot.

Today at 9:25 PM Time: 3m ago Location: East Lumbridge Swamp Mine World: 341 Tier: 6

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

import requests from bs4 import BeautifulSoup import discord from discordext import commands tasks W... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!