This commit is contained in:
512song committed 2024-01-17 12:54:42 +08:00
1 parent 5e368c4b76
commit c428bebaba
3 files changed
+271 -97

No files matched your search

+20 -5
View File
@@ -548,12 +548,27 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 100,
"id": "b123ee6b-85d2-4660-b226-321832a6b796",
"metadata": {
"execution": {
"iopub.execute_input": "2024-01-03T15:42:44.653385Z",
"iopub.status.busy": "2024-01-03T15:42:44.652940Z",
"iopub.status.idle": "2024-01-03T15:42:59.566347Z",
"shell.execute_reply": "2024-01-03T15:42:59.565824Z",
"shell.execute_reply.started": "2024-01-03T15:42:44.653349Z"
},
"tags": []
},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"43\n"
]
}
],
"source": [
"import requests\n",
"import json\n",
@@ -577,7 +592,7 @@
" \n",
" id = str(k).rjust(4,\"0\")\n",
" mydata['path'] = fiie_path+id+'-'+ v['name']+'.pdf'\n",
" mydata['title'] = '中国农业银行股份有限公司'\n",
" mydata['title'] = '中国石化化工销售'\n",
" mydata['subtitle'] = v['unit']\n",
" mydata['id'] = id\n",
" mydata['name'] = v['name']\n",
@@ -604,8 +619,8 @@
" else:\n",
" mark = v[item]['成绩'].split()[0]\n",
" mydata['fits'][item] = {'mark':mark,'score':v[item]['score']}\n",
" if len(mydata['fits']) >2 or len(mydata['surveys']) >0:\n",
" \n",
" #if len(mydata['fits']) >2 or len(mydata['surveys']) >0:\n",
" if len(mydata['fits']) >2 : \n",
" list1.append(mydata)\n",
" list2.append([k,v['name']])\n",
" i+=1\n",