mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-13 23:16:47 +00:00
[fix] 修复pushUrl未配置相关Secrets报错
之前的修复版本未考虑充分,这次从yml中进行空值判断
This commit is contained in:
@@ -19,8 +19,6 @@ def parse_stiemap(site):
|
||||
try:
|
||||
result = requests.get(site)
|
||||
big = re.findall('<loc>(.*?)</loc>', result.content.decode('utf-8'), re.S)
|
||||
print('当前已有url:')
|
||||
print(list(big))
|
||||
return list(big)
|
||||
except:
|
||||
print('请检查你的url是否有误。')
|
||||
|
||||
Reference in New Issue
Block a user