Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Z
zzsn_spider
概览
概览
详情
活动
周期分析
版本库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
统计图
问题
0
议题
0
列表
看板
标记
里程碑
合并请求
1
合并请求
1
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
丁双波
zzsn_spider
Commits
b7fa3199
提交
b7fa3199
authored
3月 21, 2024
作者:
薛凌堃
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
REITs政策法规
上级
35144902
显示空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
30 行增加
和
13 行删除
+30
-13
reits.py
REITs_policyData/reits.py
+30
-13
没有找到文件。
REITs_policyData/reits.py
浏览文件 @
b7fa3199
...
@@ -280,14 +280,17 @@ def reform():
...
@@ -280,14 +280,17 @@ def reform():
contentWithTag_str
=
str
(
contentWithTag
)
contentWithTag_str
=
str
(
contentWithTag
)
time_now
=
time
.
strftime
(
"
%
Y-
%
m-
%
d
%
H:
%
M:
%
S"
,
time
.
localtime
())
time_now
=
time
.
strftime
(
"
%
Y-
%
m-
%
d
%
H:
%
M:
%
S"
,
time
.
localtime
())
lang
=
baseCore
.
detect_language
(
content
)
dic_info
=
{
dic_info
=
{
'attachmentIds'
:
id_list
,
'attachmentIds'
:
id_list
,
'subjectId'
:
'1729021803283533825'
,
'lang'
:
lang
,
'author'
:
''
,
'author'
:
''
,
'content'
:
content
,
'content'
:
content
,
'contentWithTag'
:
contentWithTag_str
,
'contentWithTag'
:
contentWithTag_str
,
'deleteFlag'
:
0
,
'deleteFlag'
:
0
,
'checkStatus'
:
1
,
'checkStatus'
:
1
,
'id'
:
'
'
,
'id'
:
'
1729021803283533825'
+
str
(
int
(
time
.
time
()))
,
'title'
:
title
,
'title'
:
title
,
'publishDate'
:
publishDate_
,
'publishDate'
:
publishDate_
,
'origin'
:
source
,
'origin'
:
source
,
...
@@ -418,14 +421,17 @@ def zhengquanqihuo():
...
@@ -418,14 +421,17 @@ def zhengquanqihuo():
contentWithTag_str
=
str
(
contentWithTag
)
contentWithTag_str
=
str
(
contentWithTag
)
time_now
=
time
.
strftime
(
"
%
Y-
%
m-
%
d
%
H:
%
M:
%
S"
,
time
.
localtime
())
time_now
=
time
.
strftime
(
"
%
Y-
%
m-
%
d
%
H:
%
M:
%
S"
,
time
.
localtime
())
lang
=
baseCore
.
detect_language
(
content
)
dic_info
=
{
dic_info
=
{
'attachmentIds'
:
id_list
,
'attachmentIds'
:
id_list
,
'subjectId'
:
'1729021803283533825'
,
'lang'
:
lang
,
'author'
:
''
,
'author'
:
''
,
'content'
:
content
,
'content'
:
content
,
'contentWithTag'
:
contentWithTag_str
,
'contentWithTag'
:
contentWithTag_str
,
'deleteFlag'
:
0
,
'deleteFlag'
:
0
,
'checkStatus'
:
1
,
'checkStatus'
:
1
,
'id'
:
'
'
,
'id'
:
'
1729021803283533825'
+
str
(
int
(
time
.
time
()))
,
'title'
:
title
,
'title'
:
title
,
'publishDate'
:
publishDate
,
'publishDate'
:
publishDate
,
'origin'
:
source
,
'origin'
:
source
,
...
@@ -537,15 +543,17 @@ def sse():
...
@@ -537,15 +543,17 @@ def sse():
if
att_id
:
if
att_id
:
id_list
.
append
(
att_id
)
id_list
.
append
(
att_id
)
time_now
=
time
.
strftime
(
"
%
Y-
%
m-
%
d
%
H:
%
M:
%
S"
,
time
.
localtime
())
time_now
=
time
.
strftime
(
"
%
Y-
%
m-
%
d
%
H:
%
M:
%
S"
,
time
.
localtime
())
lang
=
baseCore
.
detect_language
(
content
)
dic_info
=
{
dic_info
=
{
'attachmentIds'
:
id_list
,
'attachmentIds'
:
id_list
,
'subjectId'
:
'1729021803283533825'
,
'lang'
:
lang
,
'author'
:
''
,
'author'
:
''
,
'content'
:
content
,
'content'
:
content
,
'contentWithTag'
:
''
,
'contentWithTag'
:
''
,
'deleteFlag'
:
0
,
'deleteFlag'
:
0
,
'checkStatus'
:
1
,
'checkStatus'
:
1
,
'id'
:
'
'
,
'id'
:
'
1729021803283533825'
+
str
(
int
(
time
.
time
()))
,
'title'
:
title
,
'title'
:
title
,
'publishDate'
:
publishDate
,
'publishDate'
:
publishDate
,
'origin'
:
source
,
'origin'
:
source
,
...
@@ -606,16 +614,18 @@ def sse():
...
@@ -606,16 +614,18 @@ def sse():
contentWithTag_str
=
str
(
contentWithTag
)
contentWithTag_str
=
str
(
contentWithTag
)
# print(contentWithTag_str)
# print(contentWithTag_str)
lang
=
baseCore
.
detect_language
(
content
)
time_now
=
time
.
strftime
(
"
%
Y-
%
m-
%
d
%
H:
%
M:
%
S"
,
time
.
localtime
())
time_now
=
time
.
strftime
(
"
%
Y-
%
m-
%
d
%
H:
%
M:
%
S"
,
time
.
localtime
())
dic_info
=
{
dic_info
=
{
'attachmentIds'
:
id_list
,
'attachmentIds'
:
id_list
,
'subjectId'
:
'1729021803283533825'
,
'lang'
:
lang
,
'author'
:
''
,
'author'
:
''
,
'content'
:
content
,
'content'
:
content
,
'contentWithTag'
:
contentWithTag_str
,
'contentWithTag'
:
contentWithTag_str
,
'deleteFlag'
:
0
,
'deleteFlag'
:
0
,
'checkStatus'
:
1
,
'checkStatus'
:
1
,
'id'
:
'
'
,
'id'
:
'
1729021803283533825'
+
str
(
int
(
time
.
time
()))
,
'title'
:
title
,
'title'
:
title
,
'publishDate'
:
publishDate
,
'publishDate'
:
publishDate
,
'origin'
:
source
,
'origin'
:
source
,
...
@@ -828,13 +838,16 @@ def hebei():
...
@@ -828,13 +838,16 @@ def hebei():
if
content
==
''
:
if
content
==
''
:
continue
continue
time_now
=
time
.
strftime
(
"
%
Y-
%
m-
%
d
%
H:
%
M:
%
S"
,
time
.
localtime
())
time_now
=
time
.
strftime
(
"
%
Y-
%
m-
%
d
%
H:
%
M:
%
S"
,
time
.
localtime
())
lang
=
baseCore
.
detect_language
(
content
)
dic_info
=
{
dic_info
=
{
'attachmentIds'
:
id_list
,
'attachmentIds'
:
id_list
,
'subjectId'
:
'1729315113088765953'
,
'lang'
:
lang
,
'author'
:
''
,
'author'
:
''
,
'content'
:
content
,
'content'
:
content
,
'checkStatus'
:
1
,
'checkStatus'
:
1
,
'deleteFlag'
:
0
,
'deleteFlag'
:
0
,
'id'
:
'
'
,
'id'
:
'
1729315113088765953'
+
str
(
int
(
time
.
time
()))
,
'contentWithTag'
:
contentWithTag_str
,
'contentWithTag'
:
contentWithTag_str
,
'title'
:
title
.
replace
(
'
\n
'
,
''
),
'title'
:
title
.
replace
(
'
\n
'
,
''
),
'publishDate'
:
publishDate
,
'publishDate'
:
publishDate
,
...
@@ -942,14 +955,17 @@ def guizhou():
...
@@ -942,14 +955,17 @@ def guizhou():
contentWithTag_str
=
str
(
contentWithTag
)
contentWithTag_str
=
str
(
contentWithTag
)
time_now
=
time
.
strftime
(
"
%
Y-
%
m-
%
d
%
H:
%
M:
%
S"
,
time
.
localtime
())
time_now
=
time
.
strftime
(
"
%
Y-
%
m-
%
d
%
H:
%
M:
%
S"
,
time
.
localtime
())
lang
=
baseCore
.
detect_language
(
content
)
dic_info
=
{
dic_info
=
{
'attachmentIds'
:
id_list
,
'attachmentIds'
:
id_list
,
'subjectId'
:
'1729315113088765953'
,
'lang'
:
lang
,
'author'
:
''
,
'author'
:
''
,
'content'
:
content
,
'content'
:
content
,
'contentWithTag'
:
contentWithTag_str
,
'contentWithTag'
:
contentWithTag_str
,
'deleteFlag'
:
0
,
'deleteFlag'
:
0
,
'checkStatus'
:
1
,
'checkStatus'
:
1
,
'id'
:
'
'
,
'id'
:
'
1729315113088765953'
+
str
(
int
(
time
.
time
()))
,
'title'
:
title
.
replace
(
'
\n
'
,
''
),
'title'
:
title
.
replace
(
'
\n
'
,
''
),
'publishDate'
:
publishDate
,
'publishDate'
:
publishDate
,
'source'
:
source
,
'source'
:
source
,
...
@@ -979,14 +995,14 @@ def guizhou():
...
@@ -979,14 +995,14 @@ def guizhou():
if
__name__
==
"__main__"
:
if
__name__
==
"__main__"
:
# file_path = f'data/REITs贵州省人民政府.xlsx'
# file_path = f'data/REITs贵州省人民政府.xlsx'
# wb = policy.createfile(file_path)
# wb = policy.createfile(file_path)
#
reform()
reform
()
#
#
shenzhen()
# shenzhen()
#
zhengquanqihuo()
zhengquanqihuo
()
try
:
try
:
sse
()
sse
()
except
:
except
:
pass
pass
#
hebei()
hebei
()
#
guizhou()
guizhou
()
# zhengquanqihuo()
# zhengquanqihuo()
\ No newline at end of file
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论