{ "id": "ttg", "name": "听听歌", "enabled": false, "schema": "NexusPhp", "provenance": { "source": "movieclaw", "ref": "v0.27.0", "commit": "c79bb1b0", "license": "MIT", "file": "src/movieclaw_tracker/sites/configs/ttg.yaml" }, "domain": "https://totheglory.im/", "encoding": "UTF-8", "public": false, "proxy": false, "language": "zh", "result_num": 100, "timeout": 30, "search": { "paths": [ { "path": "browse.php", "type": "all" } ], "params": { "search": "{keyword}" } }, "batch": { "delimiter": " ", "space_replace": "_" }, "browse": { "path": "browse.php?page={page}", "start": 1 }, "category": { "movie": [ { "id": "电影DVDRip", "desc": "电影" }, { "id": "电影720p", "desc": "电影" }, { "id": "电影1080i/p", "desc": "电影" }, { "id": "BluRay原盘", "desc": "电影" }, { "id": "影视2160p", "desc": "电影" }, { "id": "UHD原盘", "desc": "电影" }, { "id": "iPhone/iPad视频", "desc": "电影" } ], "tv": [ { "id": "欧美剧720p", "desc": "剧集" }, { "id": "欧美剧1080i/p", "desc": "剧集" }, { "id": "高清日剧", "desc": "剧集" }, { "id": "大陆港台剧720p", "desc": "剧集" }, { "id": "高清韩剧", "desc": "剧集" }, { "id": "大陆港台剧1080i/p", "desc": "剧集" }, { "id": "欧美剧包", "desc": "剧集" }, { "id": "日剧包", "desc": "剧集" }, { "id": "华语剧包", "desc": "剧集" }, { "id": "韩剧包", "desc": "剧集" }, { "id": "高清体育节目", "desc": "剧集" }, { "id": "韩国综艺", "desc": "剧集" }, { "id": "日本综艺", "desc": "剧集" }, { "id": "高清综艺", "desc": "剧集" } ], "music": [ { "id": "(电影原声&Game)OST", "desc": "音乐" }, { "id": "无损音乐FLAC&APE", "desc": "音乐" }, { "id": "MV&演唱会", "desc": "音乐" }, { "id": "补充音轨", "desc": "音乐" } ] }, "torrents": { "list": { "selector": "table#torrent_table > tr[id]" }, "fields": { "title_default": { "selector": "a[href*='details.php']" }, "title_optional": { "selector": "a[href*='details.php'][title]", "attribute": "title" }, "title": { "text": "{% if fields['title_optional'] %}{{ fields['title_optional'] }}{% else %}{{ fields['title_default'] }}{% endif %}" }, "details": { "selector": "a[href*='details.php']", "attribute": "href" }, "download": { "selector": "a[href*='download.php']", "attribute": "href" }, "imdbid": { "selector": "a[href*=\"imdb.com/title/tt\"]", "attribute": "href", "filters": [ { "name": "re_search", "args": ["tt\\d+", 0] } ] }, "date_added": { "selector": "td:nth-child(5)" }, "date": { "text": "{% if fields['date_elapsed'] or fields['date_added'] %}{{ fields['date_added'] if fields['date_added'] else fields['date_elapsed'] }}{% else %}now{% endif %}", "filters": [ { "name": "dateparse", "args": "%Y-%m-%d %H:%M:%S" } ] }, "size": { "selector": "td:nth-child(5)" }, "seeders": { "selector": "td:nth-child(6)" }, "leechers": { "selector": "td:nth-child(7)" }, "grabs": { "selector": "td:nth-child(8)" }, "downloadvolumefactor": { "case": { "img[alt=\"free\"]": 0, "img[alt=\"50%\"]": 0.5, "img[alt=\"30%\"]": 0.3, "*": 1 } }, "uploadvolumefactor": { "case": { "img[alt=\"200%\"]": 2, "*": 1 } }, "description": { "selector": "td.embedded > span" }, "category": { "selector": "td:nth-child(1) img", "attribute": "class", "filters": [ { "name": "re_search", "args": ["\\d+", 0] } ] }, "freedate": { "selector": "span[onclick]", "attribute": "onclick", "filters": [ { "name": "re_search", "args": ["\\d+年\\d+月\\d+日\\d+点\\d+分", 0] } ] } } }, "umt": { "version": "ttg@mc-v0.27.0", "kind": "nexusphp", "displayName": "听听歌", "timezone": "+08:00", "rateLimit": { "minIntervalMs": 3000, "burst": 1 }, "capabilities": { "list": true, "search": true, "detail": true, "download": true, "rss": false }, "categoryNames": { "电影DVDRip": "电影", "电影720p": "电影", "电影1080i/p": "电影", "BluRay原盘": "电影", "影视2160p": "电影", "UHD原盘": "电影", "iPhone/iPad视频": "电影", "纪录片720p": "纪录片", "纪录片1080i/p": "纪录片", "纪录片BluRay原盘": "纪录片", "欧美剧720p": "剧集", "欧美剧1080i/p": "剧集", "高清日剧": "剧集", "大陆港台剧720p": "剧集", "高清韩剧": "剧集", "大陆港台剧1080i/p": "剧集", "欧美剧包": "剧集", "日剧包": "剧集", "华语剧包": "剧集", "韩剧包": "剧集", "高清体育节目": "剧集", "韩国综艺": "剧集", "日本综艺": "剧集", "高清综艺": "剧集", "(电影原声&Game)OST": "音乐", "无损音乐FLAC&APE": "音乐", "MV&演唱会": "音乐", "补充音轨": "音乐", "高清动漫": "动漫", "MiniVideo": "其他" }, "loginSuccess": "a[href='/logout.php']", "emptyMarkers": ["没有种子", "没有结果", "Nothing found"], "pagination": "a[href*=\"page=\"]", "detailPath": "details.php", "downloadPath": "download.php", "login": { "path": "login.php", "usernameField": "username", "passwordField": "password", "errorCss": "td.text" }, "profile": { "path": "userdetails.php", "username_css": "h1::text", "class_css": "td.rowhead:contains('等级') + td::text", "uploaded_css": "td.rowhead:contains('上传量') + td::text", "downloaded_css": "td.rowhead:contains('下载量') + td::text", "ratio_css": "td.rowhead:contains('分享率') + td::text", "bonus_css": "td.rowhead:contains('魔力') + td::text", "join_date_css": "td.rowhead:contains('加入日期') + td::text", "seeding_css": "td.rowhead:contains('当前做种') + td::text", "leeching_css": "td.rowhead:contains('当前下载') + td::text" }, "detail": { "path": "details.php", "title": "#top", "rowLabel": "td.rowhead", "rowValue": "td.rowfollow", "labels": { "subtitle": ["副标题", "Small Description"], "basicInfo": ["基本信息", "Basic Info"], "peers": ["同伴", "Peers"] }, "description": "#kdescr", "headerScope": "#top", "notFoundMarkers": ["没有该ID的种子", "No torrent with ID"], "fields": { "title": "#top::text", "subtitle": "td.rowhead:contains('副标题') + td::text", "size": "td.rowhead:contains('大小') + td::text", "description": "#kdescr", "download": "a[href*='download.php']::attr(href)", "imdb": "a[href*='imdb.com']::attr(href)", "douban": "a[href*='douban.com']::attr(href)", "fileList": "td.rowfollow > ul > li::text" } }, "customClass": "movieclaw_tracker.sites.custom.ttg.TTGSite" } }