mirror of
https://github.com/ngfchl/ptools
synced 2023-07-10 13:41:22 +08:00
Merge remote-tracking branch 'origin/master'
# Conflicts: # pt_site_site.json
This commit is contained in:
@@ -2120,6 +2120,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
Reference in New Issue
Block a user