sportscult: strip %7C from download link for #5378

This commit is contained in:
Garfield69
2019-06-01 20:00:15 +12:00
parent 771e2ea2be
commit 6191ec0ef4

View File

@@ -96,8 +96,13 @@
remove: span
selector: td:nth-child(2)
download:
# download.php?id=fb27625a0543ed731f7b3505beebf4c8d530f8f9&f=IIHF+2019-05-26+%7C+Gold+Medal+%7C+Canada+vs+Finland+%7C+1080p+EN.torrent
selector: a[href^="download.php?id="]
attribute: href
filters:
# strip the upright bars in the title's filename
- name: re_replace
args: ["(\\+%7C\\+)+", "+"]
details:
selector: a[href^="index.php?page=torrent-details&id="]
attribute: href