mirror of
https://github.com/TheBeastLT/torrentio-scraper.git
synced 2026-01-11 22:40:22 +00:00
parse provider language with srt extension
This commit is contained in:
parent
12286cba02
commit
8575e0604d
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ function getQuality(record, torrentInfo, fileInfo) {
|
|||
}
|
||||
|
||||
function getLanguages(record, torrentInfo, fileInfo) {
|
||||
const providerLanguages = record.torrent.languages && titleParser.parse(record.torrent.languages).languages || [];
|
||||
const providerLanguages = record.torrent.languages && titleParser.parse(record.torrent.languages + '.srt').languages || [];
|
||||
const torrentLanguages = torrentInfo.languages || [];
|
||||
const fileLanguages = fileInfo.languages || [];
|
||||
const dubbed = torrentInfo.dubbed || fileInfo.dubbed;
|
||||
|
|
|
|||
Loading…
Reference in a new issue