skytorrentsclone: back to .lol domain

the .to domain redirects to BTDB

turns out .to was a completely different site than .lol and not an alternate as first thought.
changes made for .to have been reversed.
.lol uses query parm for search,
and itorrents.org for dl links
This commit is contained in:
Garfield69 2019-04-19 18:04:40 +12:00
parent 8151fbf382
commit 4295e65dfe
1 changed files with 10 additions and 20 deletions

View File

@ -6,9 +6,9 @@
type: public
encoding: UTF-8
links:
- https://www.skytorrents.to/
legacylinks:
- https://www.skytorrents.lol/
legacylinks:
- https://www.skytorrents.to/
caps:
categories:
@ -28,24 +28,16 @@
tv-search: [q, season, ep]
movie-search: [q]
settings:
- name: btdb.eu-links
type: checkbox
label: Add download links via btdb.eu
default: true
- name: info
type: info
label: btdb.eu Note
default: Without the btdb.eu option only magnet links will be provided.
settings: []
search:
# https://www.skytorrents.lol/?search=mr+mercedes+s02e05&sort=created
# https://www.skytorrents.lol/?query=mr+mercedes+s02e05&sort=created
# https://www.skytorrents.lol/top100
paths:
- path: "{{ if .Keywords }}?search={{ .Keywords }}&sort=created{{else}}top100{{end}}"
- path: "{{ if .Keywords }}?search={{ .Keywords }}&sort=created&page=2{{else}}{{end}}"
- path: "{{ if .Keywords }}?search={{ .Keywords }}&sort=created&page=3{{else}}{{end}}"
- path: "{{ if .Keywords }}?search={{ .Keywords }}&sort=created&page=4{{else}}{{end}}"
- path: "{{ if .Keywords }}?query={{ .Keywords }}&sort=created{{else}}top100{{end}}"
- path: "{{ if .Keywords }}?query={{ .Keywords }}&sort=created&page=2{{else}}{{end}}"
- path: "{{ if .Keywords }}?query={{ .Keywords }}&sort=created&page=3{{else}}{{end}}"
- path: "{{ if .Keywords }}?query={{ .Keywords }}&sort=created&page=4{{else}}{{end}}"
rows:
selector: tr.result
fields:
@ -62,11 +54,9 @@
details:
selector: td a
attribute: href
download-btdb.eu:
selector: a[href^="//btdb.eu"]
attribute: href
download:
text: "{{if .Config.btdb.eu-links}}{{ .Result.download-btdb.eu }}{{else}}{{end}}"
selector: a[href*="/torrent/"]
attribute: href
magnet:
selector: a[href^="magnet:?"]
attribute: href