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

Crunchyroll mediaType error #283

Open
Adolar0042 opened this issue Jan 26, 2023 · 0 comments
Open

Crunchyroll mediaType error #283

Adolar0042 opened this issue Jan 26, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@Adolar0042
Copy link

Adolar0042 commented Jan 26, 2023

Describe the bug

When trying to get info for a movie it doesn't work with either media types (series and movie)

Steps to reproduce

Try getting info for a movie (in this case Your Name) with either one of the media types
Used link: https://api.consumet.org/anime/crunchyroll/info?id=G9VHN9PK3&mediaType=movie

Expected behavior

Info gets returned

Actual behavior

Either Error 500 or empty message

When using series

{
  "message": {
    "message": "Request failed with status code 500",
    "name": "AxiosError",
    "config": {
      "transitional": {
        "silentJSONParsing": true,
        "forcedJSONParsing": true,
        "clarifyTimeoutError": false
      },
      "transformRequest": [
        null
      ],
      "transformResponse": [
        null
      ],
      "timeout": 0,
      "xsrfCookieName": "XSRF-TOKEN",
      "xsrfHeaderName": "X-XSRF-TOKEN",
      "maxContentLength": -1,
      "maxBodyLength": -1,
      "env": {},
      "headers": {
        "Accept": "application/json, text/plain, */*",
        "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.116 Safari/537.36",
        "Authorization": "Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IkFxbUJwdVpTZTlNUnlBWVo0YU5hUWciLCJ0eXAiOiJKV1QifQ.eyJhbm9ueW1vdXNfaWQiOiIiLCJiZW5lZml0cyI6WyJjYXRhbG9nIiwiY29uY3VycmVudF9zdHJlYW1zLjQiLCJjcl9leHBvX2ZpcnN0X2FjY2VzcyIsImNyX2Zhbl9wYWNrIiwiY3JfcHJlbWl1bSIsImNyX3N0b3JlLjE1X29mZl8xMDAiLCJtYW5nYV9saWJyYXJ5Iiwibm9fYWRzIiwib2ZmbGluZV92aWV3aW5nIiwic2ltdWxjYXN0Il0sImNsaWVudF9pZCI6ImNyX2FuZHJvaWQiLCJjbGllbnRfdGFnIjoiMy44LjAiLCJjb3VudHJ5IjoiVVMiLCJldHBfdXNlcl9pZCI6IjY2MDk3ZTE0LTZhYzYtNWQ5Yy04NWFhLTMzNjZjY2NiZTAxOSIsImV4cCI6MTY3NDc2NDU5NiwianRpIjoiZjc2NzRhMDYtNWQ3Mi00ZjM5LThiNmEtNzkxMGFkN2FiZTNmIiwibWF0dXJpdHkiOiJNMyIsIm9hdXRoX3Njb3BlcyI6ImFjY291bnQgY29udGVudCBvZmZsaW5lX2FjY2VzcyByZXZpZXdzIHRhbGtib3giLCJydF9pZCI6ImNmOWUwMjA0MXEzdHI2Y3Uzb2JnIiwic2NvcGVzIjp7ImNyIjp7ImFjY19pZCI6IjY2MDk3ZTE0LTZhYzYtNWQ5Yy04NWFhLTMzNjZjY2NiZTAxOSIsImV4dF9pZCI6IjEwOTQxNTg2NDIifX0sInN0YXR1cyI6IkFDVElWRSIsInRudCI6ImNyIn0.iFziLSSCYZiz3b_pcRGl5ZtQE5HYh283sElvVDBWO-C-RyYTZ-4ahmZzemnc8DN_tOT6GLD5pukU_m0wejF4Y38J0momFQiCONGE3PAttffqhUyWzt34Z3KAf9nJNY2PKBIbbaucIikdJyXX1tm9Vn6ZIbv5C-IEiDMl0rlZPWIwmaEPIbzmJIVjZvrvyUF_knZHULVyOfKLGXmZeMwr8wnKmL5_odRlvt073Ct2GjcZglgwtY7snAOMmc1Uh93x60TW8Snt1kFGvFExON4YIES2nzhtc1pWQLIh884RW8kauS-Q7VpmJDMv7tSmW4-aLPWLqL8HcJRxZgBxoRjr3Q"
      },
      "method": "get",
      "url": "https://cronchy.consumet.stream/info/G9VHN9PK3?type=series&fetchAllSeasons=false"
    },
    "code": "ERR_BAD_RESPONSE",
    "status": 500
  }
}

When using movie

{"message":{}}

Additional context

I got the media types from here

@Adolar0042 Adolar0042 added the bug Something isn't working label Jan 26, 2023
@Adolar0042 Adolar0042 changed the title Crunchyroll mediaType Crunchyroll mediaType error Jan 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants