Fix subtitle downloading for hidive

This commit is contained in:
AnimeDL 2024-03-08 08:56:27 -08:00
parent 9bc62ba91e
commit 5143f2db4a

View file

@ -316,7 +316,7 @@ export default class Hidive implements ServiceClass {
public async genSubsUrl(type: string, file: string) {
return [
`${domain.hd_www}/caption/${type}/`,
`${domain.hd_api}/caption/${type}/`,
( type == 'css' ? '?id=' : '' ),
`${file}.${type}`
].join('');