Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Retrieve stream by guid not by slug title #400

Closed
hazy-kun opened this issue May 4, 2024 · 1 comment
Closed

Retrieve stream by guid not by slug title #400

hazy-kun opened this issue May 4, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@hazy-kun
Copy link

hazy-kun commented May 4, 2024

Is your feature request related to a problem? Please describe.
Sometimes episodes don't have slug title, in this case the downloader crashes 'cause slug title is missing

Describe the solution you'd like
Use fixed endpoint to retrieve series, seasons and episodes data using only the guid.

@hazy-kun hazy-kun added the enhancement New feature or request label May 4, 2024
@bytedream
Copy link
Member

The receiving is done by guid. Episodes with empty slug titles also work, from what I saw on the Crunchyroll website, a url is always represented as https://www.crunchyroll.com/watch/<guid>/<slug>. The url works fine if the <slug> part is removed (https://www.crunchyroll.com/watch/<guid>/). Only when the last slash is missing (https://www.crunchyroll.com/watch/<guid>), the url can't be parsed.
But yea I can extend support for urls without a slug and trailing slash

@hazy-kun hazy-kun closed this as completed May 4, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants