Sources: Fix magnet link parsing with RSS
Using the new magnet type auto-populates hashes and links Signed-off-by: kingbri <bdashore3@proton.me>
This commit is contained in:
parent
0f081d0716
commit
cb4d935008
1 changed files with 1 additions and 2 deletions
|
|
@ -468,6 +468,7 @@ class ScrapingViewModel: ObservableObject {
|
|||
}
|
||||
|
||||
for item in items {
|
||||
//print(item)
|
||||
// Parse magnet link or translate hash
|
||||
var magnetHash: String?
|
||||
if let magnetHashParser = rssParser.magnetHash {
|
||||
|
|
@ -512,8 +513,6 @@ class ScrapingViewModel: ObservableObject {
|
|||
discriminator: magnetLinkParser.discriminator,
|
||||
regexString: magnetLinkParser.regex
|
||||
)
|
||||
} else {
|
||||
continue
|
||||
}
|
||||
|
||||
var size: String?
|
||||
|
|
|
|||
Loading…
Reference in a new issue