fix(indexers): multiple definition regex pattern corrections (#656)

* fuzer: fix regex pattern

old: https://regex101.com/r/pmyFOX/1

new: https://regex101.com/r/YxtVT7/1

* hebits: fix regex pattern

old: https://regex101.com/r/66kpcT/1

new: https://regex101.com/r/AuJPRg/1

* iplay: fix regex pattern

* forgot to update pattern

* ncore: fix regex pattern

didnt catch baseurl correctly

* retroflix: fix regex pattern

old: https://regex101.com/r/WY5qPu/1

new: https://regex101.com/r/qIS6i5/1

* speedapp: removed unused capture group

old: https://regex101.com/r/1v0T3j/1

new: https://regex101.com/r/Fzv6Cq/1

* torrentbytes: fixed bad baseurl capture

old: https://regex101.com/r/n5iJr6/1

new: https://regex101.com/r/ozIu3F/1
This commit is contained in:
soup 2023-01-17 22:25:43 +01:00 committed by GitHub
parent 513a0f3369
commit 4ae2773dc9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 8 additions and 10 deletions

View file

@ -65,14 +65,13 @@ irc:
- "New: (מה שקורה בצללים - עונה 4, פרק 3 / What We Do in the Shadows - S04E03 *היידפנישן*) Category: סדרות - HD Size: 825.43 MiB Seeders: 0 Leechers: 0"
- "New: (לגו מלחמת הכוכבים: חופשת קיץ / LEGO Star Wars Summer Vacation *היידפנישן*) Category: סרטים - HD Size: 1.02 GiB Seeders: 0 Leechers: 0"
- "New: (תמונות מחיי נישואין - עונה 1 / Scenes from a Marriage (US) - S01 *היידפנישן מלא*) Category: סדרות - HD מלא Size: 18.61 GiB Seeders: 0 Leechers: 0"
pattern: '^New: \((.*)\) Category: (.*) Size: ([\d\.,]+ \w+) Seeders: .+ Leechers: .+'
pattern: '^New: .* Category: .* (.*) Size: (.*) Seeders: .+ Leechers: .+'
vars:
- name1
- category
- torrentSize
- test:
- "Link: https://hebits.net/torrents.php?torrentid=80081"
pattern: '^Link: (https?\:\/\/?[w{3}.]*[^\/]+\/).+torrentid=(\d+)'
pattern: '^Link: (https://?.*/).*torrentid=(\d+)'
vars:
- baseUrl
- torrentId