mirror of
https://github.com/Jackett/Jackett.git
synced 2025-09-17 17:34:09 +02:00
@@ -45,6 +45,7 @@ A third-party Golang SDK for Jackett is available from [webtor-io/go-jackett](ht
|
|||||||
* BTSOW
|
* BTSOW
|
||||||
* Byrutor
|
* Byrutor
|
||||||
* CiliPro (LIAORENCILI)
|
* CiliPro (LIAORENCILI)
|
||||||
|
* comicat
|
||||||
* ConCen
|
* ConCen
|
||||||
* cpasbien
|
* cpasbien
|
||||||
* cpasbienClone
|
* cpasbienClone
|
||||||
|
101
src/Jackett.Common/Definitions/comicat.yml
Normal file
101
src/Jackett.Common/Definitions/comicat.yml
Normal file
@@ -0,0 +1,101 @@
|
|||||||
|
---
|
||||||
|
id: comicat
|
||||||
|
name: comicat
|
||||||
|
description: "comicat is a CHINESE Public tracker"
|
||||||
|
language: zh-CN
|
||||||
|
type: public
|
||||||
|
encoding: UTF-8
|
||||||
|
links:
|
||||||
|
- https://www.comicat.org/
|
||||||
|
|
||||||
|
settings: []
|
||||||
|
|
||||||
|
caps:
|
||||||
|
categorymappings:
|
||||||
|
- {id: "1", cat: TV/Anime, desc: "动画(Animated)"}
|
||||||
|
- {id: "2", cat: Books/Comics, desc: "漫画(Comics)"}
|
||||||
|
- {id: "3", cat: Audio, desc: "音乐(Music)"}
|
||||||
|
- {id: "4", cat: TV/Anime, desc: "周边(Peripheral)"}
|
||||||
|
- {id: "5", cat: Other, desc: "其它(Other)"}
|
||||||
|
- {id: "6", cat: TV/Anime, desc: "Raw"}
|
||||||
|
|
||||||
|
modes:
|
||||||
|
search: [q]
|
||||||
|
movie-search: [q]
|
||||||
|
music-search: [q]
|
||||||
|
book-search: [q]
|
||||||
|
|
||||||
|
search:
|
||||||
|
paths:
|
||||||
|
# https://www.comicat.org/ (latest)
|
||||||
|
# https://www.comicat.org/search.php?keyword=720p+2020 (search)
|
||||||
|
# sort_id is meant to search by categories but it doesn't work
|
||||||
|
- path: "{{ if .Keywords }}/search.php?keyword={{ .Keywords }}{{ else }}{{ end }}"
|
||||||
|
- path: "{{ if .Keywords }}/search.php?keyword={{ .Keywords }}&page=2{{ else }}2.html{{ end }}"
|
||||||
|
|
||||||
|
rows:
|
||||||
|
selector: tr[class^="alt"]:has(a[href^="sort"])
|
||||||
|
|
||||||
|
fields:
|
||||||
|
category:
|
||||||
|
selector: a[href^="sort"]
|
||||||
|
attribute: href
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: "-(\\d)-"
|
||||||
|
title:
|
||||||
|
selector: a[href^="show"]
|
||||||
|
details:
|
||||||
|
selector: a[href^="show"]
|
||||||
|
attribute: href
|
||||||
|
infohash:
|
||||||
|
selector: a[href^="show"]
|
||||||
|
attribute: href
|
||||||
|
filters:
|
||||||
|
- name: regexp
|
||||||
|
args: "-(\\w+).html"
|
||||||
|
size:
|
||||||
|
selector: td:nth-child(4)
|
||||||
|
grabs:
|
||||||
|
selector: td:nth-child(7) span
|
||||||
|
date:
|
||||||
|
selector: td:nth-child(1):contains("/")
|
||||||
|
optional: true
|
||||||
|
filters:
|
||||||
|
- name: append
|
||||||
|
args: " +08:00" # CST (China)
|
||||||
|
- name: dateparse
|
||||||
|
args: "2006/01/02 -07:00"
|
||||||
|
date:
|
||||||
|
selector: td:nth-child(1):contains("今天")
|
||||||
|
optional: true
|
||||||
|
filters:
|
||||||
|
- name: replace
|
||||||
|
args: ["今天", ""]
|
||||||
|
- name: append
|
||||||
|
args: " +08:00" # CST (China)
|
||||||
|
- name: timeparse
|
||||||
|
args: "15:04 -07:00"
|
||||||
|
date:
|
||||||
|
selector: td:nth-child(1):contains("昨天")
|
||||||
|
optional: true
|
||||||
|
filters:
|
||||||
|
- name: re_replace
|
||||||
|
args: [".+", "yesterday"]
|
||||||
|
- name: fuzzytime
|
||||||
|
date:
|
||||||
|
selector: td:nth-child(1):contains("前天")
|
||||||
|
optional: true
|
||||||
|
filters:
|
||||||
|
- name: re_replace
|
||||||
|
args: [".+", "2 days"]
|
||||||
|
- name: timeago
|
||||||
|
seeders:
|
||||||
|
selector: td:nth-child(5) span
|
||||||
|
leechers:
|
||||||
|
selector: td:nth-child(6) span
|
||||||
|
downloadvolumefactor:
|
||||||
|
text: 0
|
||||||
|
uploadvolumefactor:
|
||||||
|
text: 1
|
||||||
|
# engine n/a
|
Reference in New Issue
Block a user