mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
fix(feeds): always upgrade size from RSS description (#1458)
* fix(rss): add additional test for size * always upgrade from desc
This commit is contained in:
parent
93538d0254
commit
d86b2333a7
2 changed files with 7 additions and 4 deletions
|
@ -210,10 +210,8 @@ func (j *RSSJob) processItem(item *gofeed.Item) *domain.Release {
|
|||
if item.Description != "" {
|
||||
rls.Description = item.Description
|
||||
|
||||
if rls.Size == 0 {
|
||||
readSizeFromDescription(item.Description, rls)
|
||||
j.Log.Trace().Msgf("Set new size %d from description", rls.Size)
|
||||
}
|
||||
readSizeFromDescription(item.Description, rls)
|
||||
j.Log.Trace().Msgf("Set new size %d from description", rls.Size)
|
||||
}
|
||||
|
||||
// add cookie to release for download if needed
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue