修复猪猪信息获取

This commit is contained in:
ngfchl
2023-02-24 13:23:26 +08:00
parent f2426fbb10
commit 7147039f3c
2 changed files with 279 additions and 181 deletions

View File

@@ -2069,6 +2069,14 @@ class PtSpider:
elif 'hd-torrents.org' in site.url:
time_join = datetime.strptime(''.join(details_html.xpath(site.time_join_rule)), '%d/%m/%Y %H:%M:%S')
my_site.time_join = time_join
elif site.url in [
'https://piggo.me/',
]:
time_str = ''.join(details_html.xpath(site.time_join_rule))
time_str = time_str.split('(')[0]
print(time_str)
time_join = datetime.strptime(time_str.strip(), '%Y-%m-%d %H:%M:%S')
my_site.time_join = time_join
elif site.url in [
'https://exoticaz.to/',
'https://cinemaz.to/',

File diff suppressed because it is too large Load Diff