diff --git a/pt.json b/pt.json index 1f5f1af..b65b288 100644 --- a/pt.json +++ b/pt.json @@ -5371,6 +5371,85 @@ "hash_rule": "//td/b[contains(text(),\"Hash\")]/following::text()[1]" } }, +{ + "model": "pt_site.site", + "pk": 76, + "fields": { + "created_at": "2022-10-17T07:42:57.547", + "updated_at": "2022-10-17T07:46:37.690", + "url": "https://www.icc2022.com/", + "name": "ICC2022", + "logo": "https://www.icc2022.com/favicon.ico", + "tracker": "icc2022", + "sign_in_support": true, + "get_torrent_support": true, + "get_userinfo_support": true, + "search_support": false, + "page_default": "torrents.php", + "page_sign_in": "attendance.php", + "page_control_panel": "usercp.php", + "page_detail": "details.php?id={}", + "page_download": "download.php?id={}", + "page_user": "userdetails.php?id={}", + "page_search": "torrents.php?search={}", + "page_leeching": "getusertorrentlistajax.php?userid={}&type=leeching", + "page_uploaded": "getusertorrentlistajax.php?userid={}&type=uploaded", + "page_seeding": "getusertorrentlistajax.php?userid={}&type=seeding", + "page_completed": "getusertorrentlistajax.php?userid={}&type=completed", + "page_mybonus": "mybonus.php", + "page_viewfilelist": "viewfilelist.php?id={}", + "page_viewpeerlist": "viewpeerlist.php?id={}", + "sign_in_method": "get", + "sign_in_captcha": false, + "sign_in_params": "{}", + "sign_in_headers": "{}", + "hr": true, + "hr_rate": 1, + "hr_time": 24, + "sp_full": 100.0, + "limit_speed": 100, + "torrents_rule": "//table[@class=\"torrents\"]/tr", + "name_rule": ".//td[@class=\"embedded\"]/a/b/text()", + "title_rule": ".//a[contains(@href,\"detail\")]/parent::td/text()[last()]", + "detail_url_rule": ".//td[@class=\"embedded\"]/a[contains(@href,\"detail\")]/@href", + "category_rule": ".//td[@class=\"rowfollow nowrap\"][1]/a[1]/img/@title", + "poster_rule": ".//table/tr/td[1]/img/@src", + "magnet_url_rule": ".//td/a[contains(@href,\"download.php?id=\")]/@href", + "download_url_rule": ".//a[contains(@href,\"download.php?id=\") and contains(@href,\"passkey\")]/@href", + "size_rule": ".//td[5]/text()", + "hr_rule": ".//table/tr/td/img[@class=\"hitandrun\"]/@title", + "sale_rule": ".//img[contains(@class,\"free\")]/@alt", + "sale_expire_rule": ".//img[contains(@class,\"free\")]/following-sibling::font/span/@title", + "release_rule": ".//td[4]/span/@title", + "seeders_rule": ".//a[contains(@href,\"#seeders\")]/text()", + "leechers_rule": ".//a[contains(@href,\"#leechers\")]/text()", + "completers_rule": ".//a[contains(@href,\"viewsnatches\")]//text()", + "viewfilelist_rule": ".//td/text()", + "viewpeerlist_rule": ".//tr/td[9]/nobr/text()", + "peer_speed_rule": ".//tr/td[7]/nobr/text()", + "remark": "", + "invitation_rule": "//span/a[contains(@href,\"invite.php?id=\")]/following-sibling::text()[1]", + "time_join_rule": "//td[contains(text(),\"加入\")]/following-sibling::td/span/@title", + "latest_active_rule": "//td[contains(text(),\"最近动向\")]/following-sibling::td/span/@title", + "uploaded_rule": "//font[@class=\"color_uploaded\"]/following-sibling::text()[1]", + "downloaded_rule": "//font[@class=\"color_downloaded\"]/following-sibling::text()[1]", + "ratio_rule": "//font[@class=\"color_ratio\"][1]/following-sibling::text()[1]", + "my_sp_rule": "//a[@href=\"mybonus.php\"]/following-sibling::text()[1]", + "hour_sp_rule": "//div[contains(text(),\"每小时能获取\")]/text()[1]", + "my_bonus_rule": "//font[@class=\"color_bonus\" and contains(text(),\"积分\")]/following-sibling::text()[1]", + "my_level_rule": "//table[@id=\"info_block\"]//span/a[contains(@class,\"_Name\") and contains(@href,\"userdetails.php?id=\")]/@class", + "my_passkey_rule": "//td[contains(text(),\"密钥\")]/following-sibling::td[1]/text()", + "my_uid_rule": "//table[@id=\"info_block\"]//span/a[contains(@class,\"_Name\") and contains(@href,\"userdetails.php?id=\")]/@href", + "my_hr_rule": "//a[@href=\"myhr.php\"]//text()", + "leech_rule": "//img[@class=\"arrowdown\"]/following-sibling::text()[1]", + "seed_rule": "//img[@class=\"arrowup\"]/following-sibling::text()[1]", + "record_count_rule": ".//td[3]/text()", + "seed_vol_rule": "//tr/td[3]", + "mailbox_rule": "//a[@href=\"messages.php\"]/font[contains(text(),\"条\")]/text()[1]", + "notice_rule": "//a[@href=\"index.php\"]/font[contains(text(),\"条\")]/text()[1]", + "hash_rule": "//td/b[contains(text(),\"Hash\")]/following::text()[1]" + } +}, { "model": "auto_pt.task", "pk": 1, diff --git a/pt_site_site.json b/pt_site_site.json index 09804b5..5ec7a08 100644 --- a/pt_site_site.json +++ b/pt_site_site.json @@ -5166,5 +5166,81 @@ "my_uid_rule": "//table[@id=\"info_block\"]//span/a[contains(@class,\"_Name\") and contains(@href,\"userdetails.php?id=\")]/@href", "page_control_panel": "usercp.php", "tracker": "srvfi" + }, + { + "id": 76, + "created_at": "2022-10-17 07:42:57.547264", + "updated_at": "2022-10-17 07:46:37.690531", + "name": "ICC2022", + "url": "https://www.icc2022.com/", + "logo": "https://www.icc2022.com/favicon.ico", + "sign_in_support": 1, + "get_torrent_support": 1, + "get_userinfo_support": 1, + "search_support": 0, + "page_default": "torrents.php", + "page_sign_in": "attendance.php", + "page_detail": "details.php?id={}", + "page_download": "download.php?id={}", + "page_user": "userdetails.php?id={}", + "page_search": "torrents.php?search={}", + "page_leeching": "getusertorrentlistajax.php?userid={}&type=leeching", + "page_uploaded": "getusertorrentlistajax.php?userid={}&type=uploaded", + "page_seeding": "getusertorrentlistajax.php?userid={}&type=seeding", + "page_completed": "getusertorrentlistajax.php?userid={}&type=completed", + "page_mybonus": "mybonus.php", + "page_viewfilelist": "viewfilelist.php?id={}", + "page_viewpeerlist": "viewpeerlist.php?id={}", + "sign_in_method": "get", + "sign_in_captcha": 0, + "sign_in_params": "{}", + "sign_in_headers": "{}", + "hr": 1, + "hr_rate": 1, + "hr_time": 24, + "sp_full": 100, + "limit_speed": 100, + "torrents_rule": "//table[@class=\"torrents\"]/tr", + "name_rule": ".//td[@class=\"embedded\"]/a/b/text()", + "title_rule": ".//a[contains(@href,\"detail\")]/parent::td/text()[last()]", + "detail_url_rule": ".//td[@class=\"embedded\"]/a[contains(@href,\"detail\")]/@href", + "category_rule": ".//td[@class=\"rowfollow nowrap\"][1]/a[1]/img/@title", + "poster_rule": ".//table/tr/td[1]/img/@src", + "magnet_url_rule": ".//td/a[contains(@href,\"download.php?id=\")]/@href", + "download_url_rule": ".//a[contains(@href,\"download.php?id=\") and contains(@href,\"passkey\")]/@href", + "size_rule": ".//td[5]/text()", + "hr_rule": ".//table/tr/td/img[@class=\"hitandrun\"]/@title", + "sale_rule": ".//img[contains(@class,\"free\")]/@alt", + "sale_expire_rule": ".//img[contains(@class,\"free\")]/following-sibling::font/span/@title", + "release_rule": ".//td[4]/span/@title", + "seeders_rule": ".//a[contains(@href,\"#seeders\")]/text()", + "leechers_rule": ".//a[contains(@href,\"#leechers\")]/text()", + "completers_rule": ".//a[contains(@href,\"viewsnatches\")]//text()", + "viewfilelist_rule": ".//td/text()", + "viewpeerlist_rule": ".//tr/td[9]/nobr/text()", + "peer_speed_rule": ".//tr/td[7]/nobr/text()", + "remark": "", + "invitation_rule": "//span/a[contains(@href,\"invite.php?id=\")]/following-sibling::text()[1]", + "time_join_rule": "//td[contains(text(),\"加入\")]/following-sibling::td/span/@title", + "latest_active_rule": "//td[contains(text(),\"最近动向\")]/following-sibling::td/span/@title", + "uploaded_rule": "//font[@class=\"color_uploaded\"]/following-sibling::text()[1]", + "downloaded_rule": "//font[@class=\"color_downloaded\"]/following-sibling::text()[1]", + "ratio_rule": "//font[@class=\"color_ratio\"][1]/following-sibling::text()[1]", + "my_sp_rule": "//a[@href=\"mybonus.php\"]/following-sibling::text()[1]", + "hour_sp_rule": "//div[contains(text(),\"每小时能获取\")]/text()[1]", + "my_bonus_rule": "//font[@class=\"color_bonus\" and contains(text(),\"积分\")]/following-sibling::text()[1]", + "my_level_rule": "//table[@id=\"info_block\"]//span/a[contains(@class,\"_Name\") and contains(@href,\"userdetails.php?id=\")]/@class", + "my_hr_rule": "//a[@href=\"myhr.php\"]//text()", + "leech_rule": "//img[@class=\"arrowdown\"]/following-sibling::text()[1]", + "seed_rule": "//img[@class=\"arrowup\"]/following-sibling::text()[1]", + "record_count_rule": ".//td[3]/text()", + "seed_vol_rule": "//tr/td[3]", + "mailbox_rule": "//a[@href=\"messages.php\"]/font[contains(text(),\"条\")]/text()[1]", + "hash_rule": "//td/b[contains(text(),\"Hash\")]/following::text()[1]", + "notice_rule": "//a[@href=\"index.php\"]/font[contains(text(),\"条\")]/text()[1]", + "my_passkey_rule": "//td[contains(text(),\"密钥\")]/following-sibling::td[1]/text()", + "my_uid_rule": "//table[@id=\"info_block\"]//span/a[contains(@class,\"_Name\") and contains(@href,\"userdetails.php?id=\")]/@href", + "page_control_panel": "usercp.php", + "tracker": "icc2022" } ] \ No newline at end of file