mirror of
https://github.com/ngfchl/ptools
synced 2023-07-10 13:41:22 +08:00
1. 更新月月抓取规则,支持抓取月月首页促销种子
This commit is contained in:
1
dumpsitedata.sh
Executable file
1
dumpsitedata.sh
Executable file
@@ -0,0 +1 @@
|
||||
python manage.py dumpdata pt_site.site --indent 2 -o pt_site_site.json
|
||||
36
pt.json
36
pt.json
@@ -580,10 +580,10 @@
|
||||
"pk": 8,
|
||||
"fields": {
|
||||
"created_at": "2022-07-20T10:05:03.493",
|
||||
"updated_at": "2022-09-01T20:22:48.119",
|
||||
"updated_at": "2022-09-02T11:37:14.757",
|
||||
"url": "https://carpt.net/",
|
||||
"name": "CarPT",
|
||||
"logo": "favicon.ico",
|
||||
"logo": "http://favicon.ico",
|
||||
"sign_in_support": true,
|
||||
"get_torrent_support": true,
|
||||
"get_userinfo_support": true,
|
||||
@@ -644,7 +644,7 @@
|
||||
"leech_rule": "//img[@class=\"arrowdown\"][1]/following-sibling::text()[1]",
|
||||
"seed_rule": "/html/body/b/text()",
|
||||
"record_count_rule": "/html/body/b/text()",
|
||||
"seed_vol_rule": "//tr/td[3]",
|
||||
"seed_vol_rule": "//tr/td[4]",
|
||||
"mailbox_rule": "//a[@href=\"messages.php\"]/following-sibling::text()[1]",
|
||||
"hash_rule": "//tr[13]/td[2]/table/tbody/tr/td[1]/text()"
|
||||
}
|
||||
@@ -3170,7 +3170,7 @@
|
||||
"pk": 44,
|
||||
"fields": {
|
||||
"created_at": "2022-08-23T16:41:38.669",
|
||||
"updated_at": "2022-09-01T20:22:48.237",
|
||||
"updated_at": "2022-09-02T16:41:47.215",
|
||||
"url": "https://pt.keepfrds.com/",
|
||||
"name": "月月Frds",
|
||||
"logo": "https://pt.keepfrds.com/static/favicon-64x64.png",
|
||||
@@ -3201,24 +3201,24 @@
|
||||
"sp_full": 100.0,
|
||||
"limit_speed": 100,
|
||||
"torrents_rule": "//table[@class=\"torrents\"]/tr",
|
||||
"name_rule": ".//td[@class=\"embedded\"]/a/b/text()",
|
||||
"title_rule": ".//tr/td[1]/text()",
|
||||
"name_rule": ".//td[@class=\"embedded\"]/a/b//text()",
|
||||
"title_rule": ".//td[@class=\"embedded\"]/a/following::text()[1]",
|
||||
"detail_url_rule": ".//td[@class=\"embedded\"]/a[contains(@href,\"detail\")]/@href",
|
||||
"category_rule": ".//td[@class=\"rowfollow nowrap\"][1]/a[1]/img/@class",
|
||||
"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\")]/@href",
|
||||
"download_url_rule": ".//a[contains(@href,\"download.php?id=\") and contains(@href,\"passkey\")]/@href",
|
||||
"size_rule": ".//td[5]/text()",
|
||||
"magnet_url_rule": ".//input[@id=\"download_link\"]/@value",
|
||||
"download_url_rule": ".//a[contains(@href,\"download.php\")]/@href",
|
||||
"size_rule": "//td[5]/text()",
|
||||
"hr_rule": ".//table/tr/td/img[@class=\"hitandrun\"]/@title",
|
||||
"sale_rule": ".//table/tr/td/img[contains(@class,\"pro_\")]/@alt",
|
||||
"sale_expire_rule": ".//table/tr/td/font/span/@title",
|
||||
"sale_rule": ".//div/img[contains(@class,\"pro_\")]/@alt",
|
||||
"sale_expire_rule": ".//div/img[contains(@class,\"pro_\")]/@onmouseover",
|
||||
"release_rule": ".//td[4]/span/@title",
|
||||
"seeders_rule": ".//td[6]/b/a/text()",
|
||||
"leechers_rule": ".//td[7]/b/a/text()",
|
||||
"completers_rule": ".//td[8]/a/b/text()",
|
||||
"seeders_rule": "//a[contains(@href,\"#seeders\")]/text()",
|
||||
"leechers_rule": "//a[contains(@href,\"#leechers\")]/text()",
|
||||
"completers_rule": "//a[contains(@href,\"viewsnatches.php?id=\")]//text()",
|
||||
"viewfilelist_rule": ".//td/text()",
|
||||
"viewpeerlist_rule": ".//tr/td[9]/nobr/text()",
|
||||
"peer_speed_rule": ".//tr/td[5]/nobr/text()",
|
||||
"peer_speed_rule": ".//tr/td[7]/nobr/text()",
|
||||
"remark": "",
|
||||
"invitation_rule": "//a[contains(@href,\"invite.php?id=\")]/following-sibling::text()[1]",
|
||||
"time_join_rule": "//td[contains(text(),\"加入\")]/following-sibling::td/span/@title",
|
||||
@@ -3233,10 +3233,10 @@
|
||||
"my_hr_rule": "//tr[14]/td[2]/a/text()",
|
||||
"leech_rule": "//img[@class=\"arrowdown\"]/following-sibling::text()[1]",
|
||||
"seed_rule": "//img[@class=\"arrowup\"]/following-sibling::text()[1]",
|
||||
"record_count_rule": "/html/body/b/text()",
|
||||
"record_count_rule": "//td[3]/text()",
|
||||
"seed_vol_rule": "//tr/td[3]",
|
||||
"mailbox_rule": "//a[@href=\"messages.php\"]/following-sibling::text()[1]",
|
||||
"hash_rule": "//tr[11]//td[@class=\"no_border_wide\"][2]/text()"
|
||||
"hash_rule": "//td[@class=\"no_border_wide\"]/b[text()=\"Hash 码:\"]/following::text()[1]"
|
||||
}
|
||||
},
|
||||
{
|
||||
|
||||
1700
pt_site_site.json
1700
pt_site_site.json
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user