fix: change project struct
This commit is contained in:
0
service/__init__.py
Normal file
0
service/__init__.py
Normal file
@@ -15,7 +15,7 @@ def faker_identification():
|
||||
infos = html.xpath('//table[@width="100%"]//tr[position()!=2]/td[@bgcolor="#FFFFFF"]//text()')
|
||||
result = {
|
||||
'identification': infos[0],
|
||||
'originArea': infos[1],
|
||||
'address': infos[1],
|
||||
'sex': infos[3][0],
|
||||
'name': faker.last_name() + (faker.first_name_male() if infos[3][0] == '男' else faker.first_name_female()),
|
||||
'age': infos[4][0:-2]
|
||||
|
||||
Reference in New Issue
Block a user