-
Notifications
You must be signed in to change notification settings - Fork 0
/
doc_id.py
40 lines (28 loc) · 16.1 KB
/
doc_id.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# import requests
# import random
str = "[{\"RunEval\":\"w61Zw4vCjsKCMBTDvRbCjMKLNkzDvAHDosOKT8KYw6VNQww6I8KLEVPCmcKVw7HDnwXChiDDkmJxwqBNw5XCk8KQS2jDr8OjwpxzW8K0YcK+SzfDm2Miw5NDwr7DvMOMZcK6w79efMOJw6xnwrVbw4tVwrbDmcKyMAhJw4B4bT4gAsOMe8KswpBXIMOyJsObFW8lw7QWBsK6Q1kYdA/CisKhwrkQBkpAHcKIAMO+wpADwoTCoQnCqEMnwpADJXQABgvDgXPDg8KjKF7DjsKSbH/DjMOlb8KSZ3IWw4UUwovDomIsPMKdS8K3w6Y6wp05w71FUmHChAhZUE1wwrrDjVlOwphnwqrDh8O5w7U7PcKxcsK4w7DCoMKgwpwhQcOFwq1Tw7DDlj3CqAPDusKLdXBrfcOvYmpnw5PCjzfCpSrDlMKqRAoELcKHO8K5G8KQw4MUbT0aYQ/DtHjDhMOtYcOfw78FwozCiBobw5rDrcOHBMOZJsKBZCfDk8KAdW3CocKuwqLCscKFw7TCtsO6w5hXwqZvw79aIcKlw63CjksMZjQ2axoJW8KDw5TCq8K9VQ0cwqjDqWTCpTwlC8K/wrbCm23CrmN/Nx1yN1d0D2fCusKyTsOewqAow7HCvMK1awDDnT9RwoNOO8K+wqnCpDnDlyjCvMKoPsKnw5LDtcOcwqjCjMK2E8OSwojCk8KZH8K6AcKKw6DCjEcX\",\"Count\":\"57\"},{\"裁判要旨段原文\":\"依照《诉讼费用交纳办法》第二十条第一款、第二十二条第二款、第四款,《最高人民法院关于适用〈诉讼费用交纳办法〉的通知》第二条和《中华人民共和国民事诉讼法》第一百五十四条第一款第(十一)项之规定,裁定如下\",\"案件类型\":\"2\",\"裁判日期\":\"2015-04-07\",\"案件名称\":\"中国建设银行股份有限公司温州分行与浙江长江能源发展有限公司、温州市长江能源海运有限公司等船舶抵押合同纠纷二审民事裁定书(3)\",\"文书ID\":\"DcKOwrkBADEIw4NWAsOMW8KSBMO2H8Opwq5wKcOJRiwRVl3CqsOHIsKCw5BNwojCk8OTFhxgw45jwpXDhMKdw4lhw6zDisO7csKrBHYeacKMw7/Cm0lEw7NkIGPCqW/Cs8Oaw4/DmVLCtcOnLcOxUgrCvynDgGoTG8OcGMOye3RGw5zDq1HDnsO5wqsHATPDkMKFw67Dk3cVw5ZRUHMVbGlcRx9/wq5TW3LDkUAWw4fDu2/CjcKuw50nLsOzw47CvsKYw64P\",\"审判程序\":\"二审\",\"案号\":\"(2015)浙海终字第71号\",\"法院名称\":\"浙江省高级人民法院\"},{\"裁判要旨段原文\":\"依照《诉讼费用交纳办法》第二十条第一款、第二十二条第二款、第四款,《最高人民法院关于适用〈诉讼费用交纳办法〉的通知》第二条和《中华人民共和国民事诉讼法》第一百五十四条第一款第(十一)项之规定,裁定如下\",\"案件类型\":\"2\",\"裁判日期\":\"2015-04-07\",\"案件名称\":\"中国建设银行股份有限公司温州分行与浙江长江能源发展有限公司、温州市长江能源海运有限公司等船舶抵押合同纠纷二审民事裁定书\",\"文书ID\":\"FcONRwEDQQgAQEtLwocnw5XCv8KkSwzDjDDCosO5ekUTw5w8wrhLwqcRwqnDi3zCgcKHEMONesKsLsKEE2TCsMK+w4V9w5YNe8ONG8KGD1cWw5xTQMOMcHrClmLCgHonwqLDjsK8worDq8Khw6LCtV7ClsOFw5/Cj8OkJ8Kowr/CgcKsHMOxwoDCsUPDucKWM3rDgMKnwpLDnB0VwqJqPWHDllt8Y0pGw69pTVJNwrxTTBPCtsOjw6A6w5gGw60NSi3Dgg8=\",\"审判程序\":\"二审\",\"案号\":\"(2015)浙海终字第68号\",\"法院名称\":\"浙江省高级人民法院\"},{\"裁判要旨段原文\":\"本院认为,本案的争议焦点为《开发建设合同》的效力及应否继续履行。
首先,从合同内容及效力看,灵武政府与华能公司在《开发建设合同》中约定的施工内容为工业园区基础设施建设,包括道路工程、上下水工程、绿化工程、路灯工程、通信工程、园区电缆工程、厂区平整工程等\",\"不公开理由\":\"\",\"案件类型\":\"2\",\"裁判日期\":\"2017-12-27\",\"案件名称\":\"宁夏河东综合工业园区华能投资置业有限公司与灵武市人民政府合同纠纷一审民事判决书\",\"文书ID\":\"DcKMw4kNADEIw4Raw6IYIDzDg8KRw75Lw5rClX/ClmXDpsKYw40MwpcfwponCFvCksOTQVZjBcOCw63ChMOtwrsVw67Cv8OuScKmPmHCmsKmwqIQVntFNy4ew69NwoZMw7fCsToewoFjw4M8TMOUwpfCriPCgsKXQsKZCi3CkcKLw4tNwrN7wqLDn8KGwpAqw6sAw6DDrMOnwrZdw4g3XMOTG8O5w5fDpsKpeygDZR5DKMOUw5nCgcKLwonCrsK8w4LCswNxwrfDg8K3w7vDn30=\",\"审判程序\":\"一审\",\"案号\":\"(2015)宁民初字第26号\",\"法院名称\":\"宁夏回族自治区高级人民法院\"},{\"裁判要旨段原文\":\"依照《诉讼费用交纳办法》第二十条第一款、第二十二条第二款、第四款,《最高人民法院关于适用〈诉讼费用交纳办法〉的通知》第二条和《中华人民共和国民事诉讼法》第一百五十四条第一款第(十一)项之规定,裁定如下\",\"案件类型\":\"2\",\"裁判日期\":\"2015-04-07\",\"案件名称\":\"中国建设银行股份有限公司温州分行与浙江长江能源发展有限公司、温州市长江能源海运有限公司等船舶抵押合同纠纷二审民事裁定书(5)\",\"文书ID\":\"DcOOw4kNADEIBMOBwpTDgMOmfMKaAcOyD2nDt8OdKsKpwrlTHMK3A8KvBmjCt8OIwrPCmBPDk8Kew6c4wonDmcOAwrjDpcKqwol7Eh1Yw4fDksOdQzVpS8OvwpoJGhHDiAjDmcOcw4hUCFPDkMKYw5JeV8Onw5h0flkTwq3DtljDt8K1w7I8w6TCiMOmS1/DkcKQwpDCvsOgwrd3w6oMDcOSwq3DoMK8XXPDi39zMMO/MsOWwoPDq1DDksO2wppQwr3DpsK/TxbCsMKhW1g5wpDDpg8=\",\"审判程序\":\"二审\",\"案号\":\"(2015)浙海终字第73号\",\"法院名称\":\"浙江省高级人民法院\"},{\"裁判要旨段原文\":\"依照《诉讼费用交纳办法》第二十条第一款、第二十二条第二款、第四款,《最高人民法院关于适用〈诉讼费用交纳办法〉的通知》第二条和《中华人民共和国民事诉讼法》第一百五十四条第一款第(十一)项之规定,裁定如下\",\"案件类型\":\"2\",\"裁判日期\":\"2015-04-07\",\"案件名称\":\"中国建设银行股份有限公司温州分行与浙江长江能源发展有限公司、温州市长江能源海运有限公司等船舶抵押合同纠纷二审民事裁定书(7)\",\"文书ID\":\"FcONw4cNBEEIAMOBwpTCsAM8wrHDucKHdHvDn1ZJw53CqMKrUjsXwqLCssOMVT3DssOiw57DgWvDhRHCmsKGZicFcTp2VsKzwoHDgcK3wqbDr3HCkh1Kf8OURAEdIMO2DMKfw5/DsMOkw5vCmMKlw49lGT8DbmDDoDJMcsKNGADCtDxgRMO0L0AtNEUGw5nCmMKqKMKmw6vDpcKdwpLDo8K3woYjwovCnnXDiMK1L3jCh1Rxd8Khwqg1ZVrDisKsfcOOw787w7Uf\",\"审判程序\":\"二审\",\"案号\":\"(2015)浙海终字第75号\",\"法院名称\":\"浙江省高级人民法院\"},{\"裁判要旨段原文\":\"依照《诉讼费用交纳办法》第二十条第一款、第二十二条第二款、第四款,《最高人民法院关于适用〈诉讼费用交纳办法〉的通知》第二条和《中华人民共和国民事诉讼法》第一百五十四条第一款第(十一)项之规定,裁定如下\",\"案件类型\":\"2\",\"裁判日期\":\"2015-04-07\",\"案件名称\":\"中国建设银行股份有限公司温州分行与浙江长江能源发展有限公司、温州市长江能源海运有限公司等船舶抵押合同纠纷二审民事裁定书(8)\",\"文书ID\":\"DcOPwqcBw4BADMOAw4DClcOcw54FwrrDrj9Sw4IET2F5wpBiSmFvwq9Ww7PCuMOEwp7CoznDrHrCtQfDksOswopiAcK0w5EcXA0eKMKDNsK5w5Azw6UIw6DDskJAJcKfwqIDw78bw5giw4J3FRETwqIzalsqw63CtcK1IwbCtkEQXQTDlcKEPMOVwrLCri5FwpEUfgNJwozDmQdGw5TDosO9wpQlAsKhw5VcdRZnEHLDnwzCjcOuf2HDtMKTwq9nCn0/\",\"审判程序\":\"二审\",\"案号\":\"(2015)浙海终字第76号\",\"法院名称\":\"浙江省高级人民法院\"},{\"裁判要旨段原文\":\"依照《诉讼费用交纳办法》第二十条第一款、第二十二条第二款、第四款,《最高人民法院关于适用〈诉讼费用交纳办法〉的通知》第二条和《中华人民共和国民事诉讼法》第一百五十四条第一款第(十一)项之规定,裁定如下\",\"案件类型\":\"2\",\"裁判日期\":\"2015-04-07\",\"案件名称\":\"中国建设银行股份有限公司温州分行与浙江长江能源发展有限公司、温州市长江能源海运有限公司等船舶抵押合同纠纷二审民事裁定书(9)\",\"文书ID\":\"DcOKwrkBADEIw4TDgMKWw4zCv8KEGEzDvyXDnSkdwonClhLDlsOtZsKdwpo4JxNvCh7CocKUEsKVwqfDs8OSSSXClsOAfy3CqsO4GXDDo8KacDHDscKNacKyJXLDmy5zacOUw4XDtMOow5tXS8Otw7TDpMO9w7bDkzXCpMOkS8KeCXLDmcKMw6XDncOVw6VrwrbDkxfDmSB9wqbCqUMoOUrCs3LDvnwWw4t5w4wLUUdIdcKMwrLCjcKKw4PDkcKzwo1wU8O4BcK4dsOJPw==\",\"审判程序\":\"二审\",\"案号\":\"(2015)浙海终字第77号\",\"法院名称\":\"浙江省高级人民法院\"},{\"裁判要旨段原文\":\"依照《诉讼费用交纳办法》第二十条第一款、第二十二条第二款、第四款,《最高人民法院关于适用〈诉讼费用交纳办法〉的通知》第二条和《中华人民共和国民事诉讼法》第一百五十四条第一款第(十一)项之规定,裁定如下\",\"案件类型\":\"2\",\"裁判日期\":\"2015-04-07\",\"案件名称\":\"中国建设银行股份有限公司温州分行与浙江长江能源发展有限公司、温州市长江能源海运有限公司等船舶抵押合同纠纷二审民事裁定书(6)\",\"文书ID\":\"DcKOw4cNw4BACMOAVsKiHsOwwqTDrj9Sw7LCtWXDiTsOwokew6nDnkjCjhA5B8KCwpTDhsOcw6A5L8K0woLDocOtwpA0TMKqT8KkZsOQwpzDvhYwwrvDvV1fw6PDpGIOwqHCnzjCiRnDh0nCuRZhwrXDj8Kjw4JxasOUNcKKwoXCpiQLw73CiQDDuAvDhD3Dp1MZwqrCmMOFw5J7wrXDvj/CrMOgwp/ChnPCqnETF1tNccOyw4bDkF/Dqg5cGMKkJ2Mqw7fCjMOZU8Obw5wP\",\"审判程序\":\"二审\",\"案号\":\"(2015)浙海终字第74号\",\"法院名称\":\"浙江省高级人民法院\"},{\"裁判要旨段原文\":\"依照《诉讼费用交纳办法》第二十条第一款、第二十二条第二款、第四款,《最高人民法院关于适用〈诉讼费用交纳办法〉的通知》第二条和《中华人民共和国民事诉讼法》第一百五十四条第一款第(十一)项之规定,裁定如下\",\"案件类型\":\"2\",\"裁判日期\":\"2015-04-07\",\"案件名称\":\"中国建设银行股份有限公司温州分行与浙江长江能源发展有限公司、温州市长江能源海运有限公司等船舶抵押合同纠纷二审民事裁定书(1)\",\"文书ID\":\"DcKNwrcRw4BADMODVlJ+wqlUw5x/JMK7JXDCoG4bwqlGcV7CnsKIXMK2w6PDrMK2dMKBw6DDkT3CqxMkMcOKYTAyw6fDtjDCmXcowpXDiiB8w7pjw6zDhsOOUEDDp30zw5t3wrfCgcKWwpbDkXjCocOrw68KwpJiwqR4TCMiDcOEDmJ+wqnDt8KdC8Osw58Ja8KUWMONfk7DiEXDm8O+XyJvwoUAOcOkwpIfw6sBwpnCkhBpwr7CicKVfxLCj8KEV0PCuXEf\",\"审判程序\":\"二审\",\"案号\":\"(2015)浙海终字第69号\",\"法院名称\":\"浙江省高级人民法院\"},{\"裁判要旨段原文\":\"依照《诉讼费用交纳办法》第二十条第一款、第二十二条第二款、第四款,《最高人民法院关于适用〈诉讼费用交纳办法〉的通知》第二条和《中华人民共和国民事诉讼法》第一百五十四条第一款第(十一)项之规定,裁定如下\",\"案件类型\":\"2\",\"裁判日期\":\"2015-04-07\",\"案件名称\":\"中国建设银行股份有限公司温州分行与浙江长江能源发展有限公司、温州市长江能源海运有限公司等船舶抵押合同纠纷二审民事裁定书(2)\",\"文书ID\":\"DcOPw4kRw4AwCATDgcKUACHCjicINsO/wpDDrATCpmsObVRwwpRPwqkUAsKywprDuUDCosOQKStjwr3CunU2wpPDiMOnwqrDmMOBwo7CsyXChgXClRXDhzrDuMKVRsO1K8KnN3bChloLacOZw5s7w41XAsO8fE8zYzfCgAPCmio3w7M6YMKhGxoGw7Qqw59kF8OQwrvDoilFwoTDn8KKLsKxMXo6ccOuwoJ4GB3DoRrDmXLDv0p4w5sJFcOSw4l4w7/Ci2h8\",\"审判程序\":\"二审\",\"案号\":\"(2015)浙海终字第70号\",\"法院名称\":\"浙江省高级人民法院\"}]"
#
#
# return_str=requests.post('http://www.ulaw.top:5677/crack',data={'a':str},timeout=20).text
# a = return_str
# print(a)
#裁判文书数据docid解密,提供api接口
import csv
import requests
import random
# #需要解析的文本,是一个字符串,直接用你请求裁判文书网返回的值即可
str_data="[{\"RunEval\":\"w61Zw5vCjsKCMBDDvRbCjA9tw5jDuAPDhCc/YR8nDTHDqMKuPMKswpjDij4Zw79dworDinLCqQJLw4EiJyFDw5rDjsOlw4zCmWnCtWHCvgs3w5tjIMODQ8K8w7zCjGXCuMO/XnzDicOoZ8K1W8OLVcK0w5kyw5dxSUBYLT5AAsOENDrDpB0SwpnDiHbDhcKpwoTDmkLCgHcwC8KBw6rCgTEUF1nCgxjCkMKAw7xBBzgBE0gdPCE5JMKMGsKiAhBowoQXCcOuecO+chZEw7tjLH/CgzjCkjPDjydfJA9jw67DqcKsw5TCssOndMOmdMK1wqRECMOhMiddw6BUw7TCqRbDqlfDksOhw7zDr8O7OzE1wp1owpDCo1ZIUMOyKgUswqo7N8KDw4fDgUrCuMK1wrpPMcOlwr3DqcOnwrNQKcOqKkUVCMOaHMKew7jDjkA2YzQ3wqzChcOdUMKjwo1aa8Odw78ZdMKww6pqWsOswq17wps2a8O+woc2w53DkMKUW8KkdmQgwpw5w6DChsOdGcOGZC3CsD7DshzCok81woHDlMOpw5hjwpDClgfCosKVRcOpI8OEYMKFHsOfwpYYVR0Nw7scw4sOwrEiw5nCoXZKfcKwQcKRw5hYSsKEwrUyw6zDi2PDnwDClMO/BjTCusO1w5nDhsKSw6Z+V8OJwosKwr/DqcO6w5nCvEPDqnBDwrXCg8K3SUMRwpxxw68C\",\"Count\":\"212\"},{\"裁判要旨段原文\":\"本院认为,原审判决认定上诉人董荣犯故意杀人罪的事实清楚,证据确实、充分。定罪准确,量刑适当,审判程序合法。经本院讨论决定,依据《中华人民共和国民事诉讼法》第一百七十条第一款(一)项、第一百七十五条及《中华人民共和国刑事诉讼法》第二百二十五条第一款(一)项、第二\",\"案件类型\":\"1\",\"裁判日期\":\"2016-12-15\",\"案件名称\":\"董荣犯故意杀人罪二审刑事裁定书\",\"文书ID\":\"DcKNwrcRw4BADMODVlIOwqXDgmvDv8KRw6zClsOAwoFmU8K+wonCu8KvwonCjkkQwpoJw51sw4VeI8K+IsOlIAtJwqBLU8Opwrh7BMK7ElrCucKuAXnDmU3DhsOKw5cFw78aA8KSJhwpVSXDiMKgFsOkA8KYP8K1eMKZAcOuK8O/H8OGCsO/w7bCgQw3wpzDs8KKNyASZ8KawrlawovDocOMVcK8w5dew6MmecO6w4cmwqZYIMKwZx/Csw3DgcO9fS/CpkxlwpbDuwA=\",\"审判程序\":\"二审\",\"案号\":\"(2016)甘刑终238号\",\"法院名称\":\"甘肃省高级人民法院\"},{\"裁判要旨段原文\":\"本院经审查认为,上诉人呼图壁某公司申请撤回上诉的意思表示真实,符合法律规定,应予准许。故依照《中华人民共和国民事诉讼法》第一百四十四条、第一百七十三条、第一百七十四之规定,裁定如下\",\"案件类型\":\"2\",\"裁判日期\":\"2016-01-13\",\"案件名称\":\"呼图壁县顺道运输有限公司与杨生得,海秀梅,海学梅,杨小娟,杨小红,杨小霞机动车交通事故责任纠纷二审民事裁定书\",\"文书ID\":\"DcKOwrcNw4BAEMKAVsK6HMOKwr/CtMO/SHbCi8KQQGx4w6rDgcO6w4Y5wojDlBEeWMO3wqxew59hdsKMeAYswpTDo8Orw7XClwbCqxnDmTjCgmnDpRHCocOKw68WAHvDlMOpwpHCssOBYcOVS23CoQ5iw63CmcKeZsKmwpMiI8KxwodQWsKLWsO6CyZNcMOJwqTDgsKgDMKmTxNnwpDDmzVOwqnDmX86w6BGw4lYSV1nwprCg1Nef8OTw7vDuWIuw4nDuX/DnsO/woR/\",\"审判程序\":\"二审\",\"案号\":\"(2015)乌中少民终字第117号\",\"法院名称\":\"新疆维吾尔自治区乌鲁木齐市中级人民法院\"},{\"裁判要旨段原文\":\"本院认为,本案二审争议焦点为:彩礼应否返还。根据《最高人民法院关于适用<中华人民共和国婚姻法>若干问题的解释(二)》第十条第一款第一项规定:“双方未办理结婚登记手续的,当事人请求返还按照习给付的彩礼的,人民法院应当予以支持。”本案中,上诉人为与被上诉人令某达成\",\"不公开理由\":\"\",\"案件类型\":\"2\",\"裁判日期\":\"2017-02-20\",\"案件名称\":\"王发江、令某同居关系子女抚养纠纷二审民事判决书\",\"文书ID\":\"DcKOw4kRADEIw4NawoJwwoVnAMOTf0nCu1/DjVhWwoVfM0MWbT8qw6ZAw5dgLnDCpElcTMOUH1wSUUbDrlbCtz3Dn8OQcl/Di8OdwqrDpsO8woHCqilfwpx/w6zDkQ/ChMO9w63Ch8KjLTXCosOjZsOKFh09Mxwqw6TDknzDt8K3GhNow6c/M8Orw5bCsCIjPCs1w4ZNNGQew47DsBkjw53DlSDCiVU9CTlVGsKDwr/DtQE9w5l0R8Kyw50hGh8=\",\"审判程序\":\"二审\",\"案号\":\"(2017)黔23民终211号\",\"法院名称\":\"贵州省黔西南布依族苗族自治州中级人民法院\"},{\"裁判要旨段原文\":\"本院认为,被上诉人魏某与上诉人令某1未办理结婚登记手续共同在一起生活,现被上诉人魏某起诉主要请求返还彩礼,故本案案由应为婚约财产纠纷。上诉人令某1的父母令某2、王某作为接收彩礼一方,被列为本案的一审共同被告,并无不当。一审法院在作出保全裁定后,向三上诉人邮寄送\",\"不公开理由\":\"\",\"案件类型\":\"2\",\"裁判日期\":\"2018-05-11\",\"案件名称\":\"魏某与令某1、王某等婚约财产纠纷二审民事判决书\",\"文书ID\":\"FcKOw4kNBEEMAlPDssOdw7bDk2fDviHDrcOsAwnCiULCkMOjNw3DghQPNTlyWD7ClcKJwq0zw7bDtHlbwpLDln3CoMKAwpfCs8KSwqXDq1pkQcOYe2VWw4IOecKEOcKiZTfCug3ChsO9DMKjwqVuJ0HDhcOgIcKqEQJNwp3Di8KGw5LCrcOrw43CoyvDrn/DvsKOH8O6DsOobk/CrcKQw7QWMcOGPFnCsMOEw68FDsKFw5vCmi7DicOMw6fDhBvDhsOrw5vCiMKvcsOMOCAQw7sD\",\"审判程序\":\"二审\",\"案号\":\"(2018)晋08民终898号\",\"法院名称\":\"山西省运城市中级人民法院\"}]"
#
# #请求示例
return_str=requests.post('http://www.ulaw.top:5677/crack',data={'a':str},timeout=20).text
a = return_str
b = eval(a)
c = ['案件类型', '裁判日期', '案件名称', '文书ID', '审判程序', '案号', '法院名称', '裁判要旨']
with open(r'C:\Users\Administrator\Desktop\test.csv', 'w',newline='') as f:
# 设定写入模式
csv_write = csv.writer(f)
csv_write.writerow(c)
for i in b:
# 写入具体内容
csv_write.writerow(i)
print ("write over")