person vendee
This commit is contained in:
@@ -27,9 +27,10 @@ curl 'https://quinquina.champs-libres.be/_wdt/708fb5' \
|
||||
"""
|
||||
|
||||
COOKIE_KEY = 'PHPSESSID'
|
||||
COOKIE_VALUE = '8bc630bf7757ea9074cfe16d3ad3d3ac'
|
||||
COOKIE_VALUE = '3232035445fc07851efd717a8f1d687a'
|
||||
|
||||
person_id = 2811
|
||||
personmineur_id = 2821
|
||||
household_id = 376
|
||||
notification_id = 126
|
||||
parcours_id = 2705
|
||||
@@ -48,7 +49,11 @@ URLS = [
|
||||
f'fr/person/household/{household_id}/relationship',
|
||||
'fr/notification/inbox',
|
||||
f'fr/notification/{notification_id}/show',
|
||||
f'fr/notification/create?entityClass=Chill%5CPersonBundle%5CEntity%5CAccompanyingPeriod&entityId={parcours_id}'
|
||||
f'fr/notification/create?entityClass=Chill%5CPersonBundle%5CEntity%5CAccompanyingPeriod&entityId={parcours_id}',
|
||||
f'fr/vendee/vendeeperson/{person_id}/infosociopro/view',
|
||||
f'fr/vendee/vendeeperson/{person_id}/infomedicale/view',
|
||||
f'fr/vendee/vendeepersonmineur/{personmineur_id}/infofamille/view',
|
||||
f'fr/vendee/vendeepersonmineur/{personmineur_id}/scolarite/view'
|
||||
]
|
||||
|
||||
for u in URLS:
|
||||
@@ -56,4 +61,3 @@ for u in URLS:
|
||||
filename = 'img/' + u.replace('/', '_').replace('&', '_').replace('?', '_').replace('=', '_') + '.png'
|
||||
print(f'fetching {url} ...')
|
||||
subprocess.run(f'wkhtmltoimage -q --javascript-delay 3000 --cookie {COOKIE_KEY} {COOKIE_VALUE} "{url}" {filename}', shell=True, check=True)
|
||||
|
||||
|
Reference in New Issue
Block a user