consumet/consumet.ts

API host is possibly down

Closed this issue · 0 comments

Describe the bug

trying to acess dramacool feature on api.consumet.org but I'm receiving error 522.

Steps to reproduce

import requests
 
# Using the example query "vincenzo", and looking at the 2nd page of results.
url = "https://api.consumet.org/movies/dramacool/vincenzo"
response = requests.get(url)

if response.status_code == 200:
  data = response.json()
  print(data)
else:
  print(f'error trying to fetch data from API. status: {response.status_code}')

Expected behavior

receive a status 200 with the respective payload.

Actual behavior

receive status code 522 via script/terminal.

the same happens when trying to acess via browser too.

image

Additional context

No response