Fix edge, single client, error case

This commit is contained in:
coolnsx
2025-09-10 13:00:57 +05:30
parent e431d829ac
commit b4e63b41ab
4 changed files with 11 additions and 12 deletions

2
rss
View File

@@ -15,4 +15,4 @@ name=$(printf "%s" "$data" | sed -nE 's_^.*Please\] (.*)</title>.*size>(.*)</sub
[ -z "$name" ] && exit 0
id=$(printf "%s" "$name" | sed -nE 's/.*\[(.*)\].*/\1/p')
magnet=$(printf "%s" "$data" | sed -nE "s_.*<link>(.*$id.*)</link>.*_\1_p" | sed 's/amp;//g')
torrent_$os "$magnet"
torrent_$os "$magnet" "f"