Python - scraping a value from a website to include a POST request value


I am trying to send POST requests to fill out a checkout page, however at payment (where you put card, cvv, expiry etc), ‘dwfrm_root_billing_paymentMethods_creditCard_owner_d0ufwkbzanfe’, ‘d0ufwkbzanfe’ is a variant that changes when you refresh the checkout page.

I would like to scrape the ~10 randomized letters but I am stuck on how to do this. Please let me know if you know how to do it, it would be highly appreciated :slightly_smiling_face:

checkoutfill ={......
                    'dwfrm_root_billing_paymentMethods_selectedPaymentMethodID': 'AdyenDirect',
                    'dwfrm_root_billing_paymentMethods_creditCard_owner_d0ufwkbzanfe': cardname,
                    'dwfrm_root_billing_paymentMethods_creditCard_number_d0hoedkquctf': cardnumber,
                    'dwfrm_root_billing_paymentMethods_creditCard_cardexpire': cardexpirydate,
                    'cvvmasked': cardcvv,
                    'dwfrm_root_submitorder': ''}

Screenshot 2020-10-03 230745