YggTorrent: domain change www2. (#4565)

This commit is contained in:
Romain Lecat 2019-01-29 18:09:49 +01:00 committed by garfield69
parent 296c218308
commit 5924a4fd22
1 changed files with 5 additions and 8 deletions

View File

@ -7,7 +7,7 @@
encoding: UTF-8
followredirect: true
links:
- https://www.yggtorrent.gg/
- https://www2.yggtorrent.gg/
legacylinks:
- https://yggtorrent.com/
- https://ww1.yggtorrent.com/
@ -26,6 +26,7 @@
- https://www.ygg.to/
- https://ww3.yggtorrent.gg/
- https://yggtorrent.gg/
- https://www.yggtorrent.gg/
caps:
categorymappings:
@ -88,10 +89,6 @@
movie-search: [q]
settings:
- name: searchanddlurl
label: Search and download URL
type: text
default: www2.yggtorrent.gg
- name: username
type: text
label: Username
@ -156,8 +153,8 @@
search:
followredirect: true
paths:
- path: "https://{{ .Config.searchanddlurl }}/engine/search?category={{ .Config.category }}&name={{if .Config.enhancedAnime}}{{ re_replace .Keywords \"([\\.\\s\\[\\-])(\\d+)$\" \"$1e$2\" }}{{else}}{{ .Keywords }}{{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}}{{ .Keywords }}{{end}}&description=&file=&uploader=&sub_category=&do=search&order=desc&sort=publish_date&page=50"
- path: "/engine/search?category={{ .Config.category }}&name={{if .Config.enhancedAnime}}{{ re_replace .Keywords \"([\\.\\s\\[\\-])(\\d+)$\" \"$1e$2\" }}{{else}}{{ .Keywords }}{{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}}{{ .Keywords }}{{end}}&description=&file=&uploader=&sub_category=&do=search&order=desc&sort=publish_date&page=50"
rows:
selector: "table.table > tbody > tr"
@ -254,7 +251,7 @@
selector: "td:nth-child(1) > a[href$=\"#comments\"]"
attribute: href
download:
text: "https://{{ .Config.searchanddlurl }}/engine/download_torrent?id={{ .Result._id }}"
text: "/engine/download_torrent?id={{ .Result._id }}"
date:
selector: "td:nth-child(5)"
filters: