mirror of
https://github.com/idanoo/autobrr
synced 2025-07-23 00:39:13 +00:00
fix(indexers): use torrentsize instead of size (#98)
This commit is contained in:
parent
9f3ca433b3
commit
b91984e28e
3 changed files with 3 additions and 3 deletions
|
@ -51,7 +51,7 @@ parse:
|
||||||
pattern: '^(.*?) - Size: ([0-9]+?.*?) - Uploader: (.*?) - Tags: (.*(hd.episode|hd.season|sd.episode|sd.eason|sd.movies|hd.movie)) - (https?:\/\/.*torrents.php\?)torrentid=(.*)$'
|
pattern: '^(.*?) - Size: ([0-9]+?.*?) - Uploader: (.*?) - Tags: (.*(hd.episode|hd.season|sd.episode|sd.eason|sd.movies|hd.movie)) - (https?:\/\/.*torrents.php\?)torrentid=(.*)$'
|
||||||
vars:
|
vars:
|
||||||
- torrentName
|
- torrentName
|
||||||
- size
|
- torrentSize
|
||||||
- uploader
|
- uploader
|
||||||
- tags
|
- tags
|
||||||
- category
|
- category
|
||||||
|
|
|
@ -52,7 +52,7 @@ parse:
|
||||||
- freeleech
|
- freeleech
|
||||||
- baseUrl
|
- baseUrl
|
||||||
- torrentId
|
- torrentId
|
||||||
- size
|
- torrentSize
|
||||||
|
|
||||||
match:
|
match:
|
||||||
torrenturl: "{{ .baseUrl }}/download.php/{{ .torrentId }}/{{ .torrentName }}.torrent?torrent_pass={{ .passkey }}"
|
torrenturl: "{{ .baseUrl }}/download.php/{{ .torrentId }}/{{ .torrentName }}.torrent?torrent_pass={{ .passkey }}"
|
||||||
|
|
|
@ -54,7 +54,7 @@ parse:
|
||||||
vars:
|
vars:
|
||||||
- torrentName
|
- torrentName
|
||||||
- category
|
- category
|
||||||
- size
|
- torrentSize
|
||||||
- baseUrl
|
- baseUrl
|
||||||
- torrentId
|
- torrentId
|
||||||
- uploader
|
- uploader
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue