import urllib.request
import re

values = {"CertNo":"130923199303160014"}
data = urllib.parse.urlencode(values).encode("utf-8")
#url = "http://ent.sipmch.com.cn/ModuleDefaultCompany/RentManage/SearchRentNo"
url = "http://ent.sipmch.sipac.gov.cn/ModuleDefaultCompany/RentManage/SearchRentNo"
req = urllib.request.Request(url)
with urllib.request.urlopen(req,data=data) as f:
    resp = f.read().decode("utf-8")
    print(resp)

srtingtest = "23r2rsdfdsf"
pattern = re.compile(r'"2"')
match = pattern.match(stringtest)
if match:
    print(match)

7c4e9d1d421951f5e816a3de53ef98aa73df6bef
<mask token>

<mask token>
with urllib.request.urlopen(req, data=data) as f:
    resp = f.read().decode('utf-8')
    print(resp)
<mask token>
if match:
    print(match)

<mask token>
values = {'CertNo': '130923199303160014'}
data = urllib.parse.urlencode(values).encode('utf-8')
url = (
    'http://ent.sipmch.sipac.gov.cn/ModuleDefaultCompany/RentManage/SearchRentNo'
    )
req = urllib.request.Request(url)
with urllib.request.urlopen(req, data=data) as f:
    resp = f.read().decode('utf-8')
    print(resp)
srtingtest = '23r2rsdfdsf'
pattern = re.compile('"2"')
match = pattern.match(stringtest)
if match:
    print(match)

import urllib.request
import re
values = {'CertNo': '130923199303160014'}
data = urllib.parse.urlencode(values).encode('utf-8')
url = (
    'http://ent.sipmch.sipac.gov.cn/ModuleDefaultCompany/RentManage/SearchRentNo'
    )
req = urllib.request.Request(url)
with urllib.request.urlopen(req, data=data) as f:
    resp = f.read().decode('utf-8')
    print(resp)
srtingtest = '23r2rsdfdsf'
pattern = re.compile('"2"')
match = pattern.match(stringtest)
if match:
    print(match)

import urllib.request
import re

values = {"CertNo":"130923199303160014"}
data = urllib.parse.urlencode(values).encode("utf-8")
#url = "http://ent.sipmch.com.cn/ModuleDefaultCompany/RentManage/SearchRentNo"
url = "http://ent.sipmch.sipac.gov.cn/ModuleDefaultCompany/RentManage/SearchRentNo"
req = urllib.request.Request(url)
with urllib.request.urlopen(req,data=data) as f:
    resp = f.read().decode("utf-8")
    print(resp)

srtingtest = "23r2rsdfdsf"
pattern = re.compile(r'"2"')
match = pattern.match(stringtest)
if match:
    print(match)
