Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create a !downdetector Parser #101

Closed
DavidArthurCole opened this issue Oct 3, 2022 · 5 comments
Closed

Create a !downdetector Parser #101

DavidArthurCole opened this issue Oct 3, 2022 · 5 comments

Comments

@DavidArthurCole
Copy link
Contributor

  • When only !downdetector is passed, make use of the Down Detector API to return a list of the most notable "currently down" sites
  • When a term is passed slack, discord, netflix, etc., check to see if the page exists (e.g. https://downdetector.com/status/netflix/). If it does, link to the page. If not, link to https://downdetector.com/search/?q=${term}

There's probably some more cool stuff that can be done with this one, given they've got a fairly open API.

@MRSinghRajat
Copy link
Contributor

I will work on it

@MRSinghRajat
Copy link
Contributor

I don't think Down Detector API are free to use

@wiz0floyd
Copy link
Collaborator

@MRSinghRajat That appears to be the case. You could still make a useful tool by responding with links. See the XKCD parser or the Wikipedia parser as examples of ones that work without using an api.

@mjonssonme
Copy link
Contributor

One can create a parser that pops a link, but it seems harder to parse the page the link produced (via restmessagev2 get) since DownDetector puts a captcha in between. They want to force ppl to the api…

@hrichiksite
Copy link
Contributor

#284

I've submitted a base PR for this parser, more to come.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants