mirror of
https://github.com/simon-ding/polaris.git
synced 2026-04-20 10:47:30 +08:00
fix: name cannot parsed
This commit is contained in:
@@ -31,8 +31,11 @@ func SearchEpisode(db1 *db.Client, seriesId, seasonNum, episodeNum int, checkRes
|
||||
|
||||
var filtered []torznab.Result
|
||||
for _, r := range res {
|
||||
log.Infof("torrent resource: %+v", r)
|
||||
//log.Infof("torrent resource: %+v", r)
|
||||
meta := metadata.ParseTv(r.Name)
|
||||
if meta == nil { //cannot parse name
|
||||
continue
|
||||
}
|
||||
if meta.Season != seasonNum {
|
||||
continue
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user