btdb: download can be missing. resolves #7508

This commit is contained in:
Garfield69 2020-03-05 12:53:32 +13:00
parent dccdd89299
commit cc671dfab5
1 changed files with 2 additions and 0 deletions

View File

@ -55,8 +55,10 @@
selector: a[href*="/torrent/"]
attribute: href
download:
# download can be missing despite icon being present. Fortunately the magnet is always there
selector: a[href$=".torrent"]
attribute: href
optional: true
magnet:
selector: a[href^="magnet:?xt="]
attribute: href