mirror of
https://github.com/xingsu1021/pthelper.git
synced 2026-11-01 13:14:03 +08:00
fixssd
This commit is contained in:
@@ -688,7 +688,7 @@ def tjupt(site_name, site_name_cn, site_url, site_cookie):
|
||||
img_src = tables[0].find('img')
|
||||
img = img_src.attrs['src']
|
||||
logger.info(img)
|
||||
|
||||
#图片不在使用豆瓣,因此拼接官网地址
|
||||
if 'http' not in img:
|
||||
img = getSiteUrl(site_url) + img
|
||||
|
||||
|
||||
@@ -102,7 +102,6 @@ def init_datas():
|
||||
#更新站点签到类型
|
||||
SiteConfig.objects.filter(name='keepfrds').update(sign_type = 'nosign')
|
||||
SiteConfig.objects.filter(name='ptsbao').update(sign_type = 'nosign')
|
||||
SiteConfig.objects.filter(name='ssd').update(sign_type = 'nosign')
|
||||
|
||||
print('开始修复站点信息中文名称...')
|
||||
ormdata_siteinfo = SiteInfo.objects.filter(siteconfig_name_cn='')
|
||||
|
||||
Reference in New Issue
Block a user