Skip to content

Commit

Permalink
Fix(en/OppaiStream): Fix subtitles
Browse files Browse the repository at this point in the history
  • Loading branch information
Dark25 committed Aug 19, 2024
1 parent dd1b43c commit 60543e5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ class OppaiStream : ParsedAnimeHttpSource(), ConfigurableAnimeSource {
override fun videoListParse(response: Response): List<Video> {
val doc = response.asJsoup()
val script = doc.selectFirst("script:containsData(var availableres)")!!.data()
val subtitles = doc.select("track[kind=captions]").map {
val subtitles = doc.select("track[kind=subtitles]").map {
Track(it.attr("src"), it.attr("label"))
}

Expand Down

0 comments on commit 60543e5

Please sign in to comment.