autobrr/internal/feed
jolinarofmalkshur dbb3ff3a3b
feat(feeds): improve file size parsing (#1162)
* In rss feeds, sometimes the only place the size is mentioned is in the
description field. If the size has not already been determined from
another source try to read it from there.

* Accept sizes with no space between value and unit of measure

* feat(feeds): get size from description add test

* fix(feeds): tests

---------

Co-authored-by: ze0s <ze0s@riseup.net>
2023-10-01 22:47:47 +02:00
..
cleanup.go feat(feeds): add scheduled cleanup (#1073) 2023-09-02 22:44:28 +02:00
client.go chore: add LICENSE GPLv2-or-later (#897) 2023-05-01 16:21:59 +02:00
newznab.go feat(macros): add SizeString DownloadURL and InfoURL (#1080) 2023-09-03 13:27:47 +02:00
rss.go feat(feeds): improve file size parsing (#1162) 2023-10-01 22:47:47 +02:00
rss_test.go feat(feeds): improve file size parsing (#1162) 2023-10-01 22:47:47 +02:00
service.go feat(feeds): show next run (#1074) 2023-09-02 23:06:21 +02:00
torznab.go feat(macros): add SizeString DownloadURL and InfoURL (#1080) 2023-09-03 13:27:47 +02:00