Skip to content

Commit

Permalink
Adding spanish tracker Union Fansub (#2580)
Browse files Browse the repository at this point in the history
* Create unionfansub.yml

Adding spanish tracker Union Fansub

* Adding UnionFansub to the list

* Update unionfansub.yml

Adding description
  • Loading branch information
Albvadi authored and kaso17 committed Feb 12, 2018
1 parent c2328ae commit 35df096
Show file tree
Hide file tree
Showing 2 changed files with 99 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -79,6 +79,7 @@ Developer note: The software implements the [Torznab](https://github.com/Sonarr/
* NoName Club
* RuTracker
* SkTorrent
* Union Fansub
* Xtreme Zone
* YggTorrent
* Ztracker
Expand Down
98 changes: 98 additions & 0 deletions src/Jackett.Common/Definitions/unionfansub.yml
@@ -0,0 +1,98 @@
---
site: unionfansub
name: Union Fansub
description: "Union Fansub is a SPANISH Semi private torrent site focused on ANIME"
language: es-es
type: semi-private
encoding: UTF-8
links:
- http://torrent.unionfansub.com/

caps:
categorymappings:
- {id: 13, cat: Movies, desc: "Animación"}
- {id: 1 , cat: TV/Anime, desc: "Anime"}
- {id: 2 , cat: TV/Anime, desc: "Anime/ISO"}
- {id: 3 , cat: TV/Anime, desc: "Anime/RAW"}
- {id: 10, cat: Audio, desc: "BSO / OST"}
- {id: 15, cat: Movies, desc: "Cine"}
- {id: 14, cat: TV/Documentary, desc: "Documentales"}
- {id: 9 , cat: TV/Anime, desc: "Dorama"}
- {id: 4 , cat: TV/Anime, desc: "Hentai"}
- {id: 18, cat: TV/Anime, desc: "Hentai CG"}
- {id: 6 , cat: TV/Anime, desc: "Hentai/ISO"}
- {id: 5 , cat: TV/Anime, desc: "Hentai/RAW"}
- {id: 16, cat: TV/Anime, desc: "J-Music"}
- {id: 7 , cat: TV/Anime, desc: "Manga"}
- {id: 8 , cat: TV/Anime, desc: "Manga/Hentai"}
- {id: 17, cat: Books, desc: "Novelas"}
- {id: 12, cat: TV/OTHER, desc: "Otros"}
- {id: 11, cat: TV, desc: "Programas"}
modes:
search: [q]

login:
path: http://foro.unionfansub.com/member.php
method: post
inputs:
quick_username: "{{ .Config.username }}"
quick_password: "{{ .Config.password }}"
action: "do_login"
url: "http://torrent.unionfansub.com/browse.php"
quick_login: "1"
quick_remember: "yes"
error:
- selector: div.error
test:
path: /
selector: div#statusbar

search:
path: /browse.php
inputs:
incldead: "0"
search: "{{ .Query.Keywords }}"
$raw: "{{range .Categories}}&c{{.}}=1{{end}}"
rows:
selector: .tlist tr:not(:first-child)
fields:
title:
selector: td:nth-child(2) a
details:
selector: td:nth-child(2) a
attribute: href
category:
selector: td:nth-child(1) a
attribute: href
filters:
- name: querystring
args: cat
download:
selector: td:nth-child(2) a
attribute: href
filters:
- name: replace
args: ["details.php?id=", "download.php?torrent="]
- name: replace
args: ["&hit=", "&aviso="]
files:
selector: td:nth-child(6)
size:
selector: td:nth-child(9)
filters:
- name: replace
args: [",", "."]
grabs:
selector: td:nth-child(10)
seeders:
selector: td:nth-child(11)
leechers:
selector: td:nth-child(12)
date:
selector: td:nth-child(8)
filters:
- name: timeago
downloadvolumefactor:
text: "1"
uploadvolumefactor:
text: "1"

0 comments on commit 35df096

Please sign in to comment.