mirror of https://github.com/Jackett/Jackett
Update yggtorrent.yml (#4677)
revert back to two urls because of cloudflare...
This commit is contained in:
parent
5be247a1e6
commit
001ee19752
|
@ -7,7 +7,7 @@
|
|||
encoding: UTF-8
|
||||
followredirect: true
|
||||
links:
|
||||
- https://www2.yggtorrent.gg/
|
||||
- https://www.yggtorrent.gg/
|
||||
legacylinks:
|
||||
- https://yggtorrent.com/
|
||||
- https://ww1.yggtorrent.com/
|
||||
|
@ -25,8 +25,8 @@
|
|||
- https://ygg.to/
|
||||
- https://www.ygg.to/
|
||||
- https://ww3.yggtorrent.gg/
|
||||
- https://yggtorrent.gg/
|
||||
- https://www.yggtorrent.gg/
|
||||
|
||||
|
||||
|
||||
caps:
|
||||
categorymappings:
|
||||
|
@ -89,6 +89,10 @@
|
|||
movie-search: [q]
|
||||
|
||||
settings:
|
||||
- name: searchanddlurl
|
||||
label: Search and download URL
|
||||
type: text
|
||||
default: www2.yggtorrent.gg
|
||||
- name: username
|
||||
type: text
|
||||
label: Username
|
||||
|
@ -136,6 +140,7 @@
|
|||
type: checkbox
|
||||
label: Enhance sonarr compatibility with anime by renaming episode (xxx to exxx). Works only if episode is at the end of the query. Can disturb movies search. (back to the future 3 -> back to the future e3)
|
||||
default: false
|
||||
|
||||
login:
|
||||
method: form
|
||||
path: /
|
||||
|
@ -153,8 +158,8 @@
|
|||
search:
|
||||
followredirect: true
|
||||
paths:
|
||||
- path: "engine/search?category={{ .Config.category }}&name={{if .Config.enhancedAnime}}{{ re_replace .Keywords \"([\\.\\s\\[\\-])(\\d+)$\" \"$1e$2\" }}{{else}}{{ re_replace .Keywords \"\\s\" \"\"\"\" }}{{end}}&description=&file=&uploader=&sub_category=&do=search&order=desc&sort=publish_date"
|
||||
- path: "engine/search?category={{ .Config.category }}&name={{if .Config.enhancedAnime}}{{ re_replace .Keywords \"([\\.\\s\\[\\-])(\\d+)$\" \"$1e$2\" }}{{else}}{{ re_replace .Keywords \"\\s\" \"\"\"\" }}{{end}}&description=&file=&uploader=&sub_category=&do=search&order=desc&sort=publish_date&page=50"
|
||||
- path: "https://{{ .Config.searchanddlurl }}/"engine/search?category={{ .Config.category }}&name={{if .Config.enhancedAnime}}{{ re_replace .Keywords \"([\\.\\s\\[\\-])(\\d+)$\" \"$1e$2\" }}{{else}}{{ re_replace .Keywords \"\\s\" \"\"\"\" }}{{end}}&description=&file=&uploader=&sub_category=&do=search&order=desc&sort=publish_date"
|
||||
- path: "https://{{ .Config.searchanddlurl }}/"engine/search?category={{ .Config.category }}&name={{if .Config.enhancedAnime}}{{ re_replace .Keywords \"([\\.\\s\\[\\-])(\\d+)$\" \"$1e$2\" }}{{else}}{{ re_replace .Keywords \"\\s\" \"\"\"\" }}{{end}}&description=&file=&uploader=&sub_category=&do=search&order=desc&sort=publish_date&page=50"
|
||||
|
||||
rows:
|
||||
selector: "table.table > tbody > tr"
|
||||
|
@ -251,7 +256,7 @@
|
|||
selector: "td:nth-child(1) > a[href$=\"#comments\"]"
|
||||
attribute: href
|
||||
download:
|
||||
text: "/engine/download_torrent?id={{ .Result._id }}"
|
||||
text: "https://{{ .Config.searchanddlurl }}/engine/download_torrent?id={{ .Result._id }}"
|
||||
date:
|
||||
selector: "td:nth-child(5)"
|
||||
filters:
|
||||
|
|
Loading…
Reference in New Issue