I am working on a small project using Beautiful Soup.
How would I access the phone number of this :
How would I access the phone number of this :
Output:<a href="javascript:void(0)" class="mlr__item__cta jsMlrMenu"
data-phone="709-635-7316">
I tried this, but not working...co_phone = each_co.find(class_="mlr__item__cta jsMlrMenu" "data-phone")
buran write Apr-27-2021, 06:14 PM:
Please, use proper tags when post code, traceback, output, etc. This time I have added tags for you.
See BBcode help for more info.
Please, use proper tags when post code, traceback, output, etc. This time I have added tags for you.
See BBcode help for more info.