Skip to content

Commit

Permalink
Fix subtitle downloading for hidive
Browse files Browse the repository at this point in the history
  • Loading branch information
AnimeDL committed Mar 8, 2024
1 parent 9bc62ba commit 5143f2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hidive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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('');
Expand Down

0 comments on commit 5143f2d

Please sign in to comment.