Jan-07-2017, 04:28 AM
I am not sure if there is a BeautifulSoup method here to be honest. You can split it by the obvious delimiter there
=
, but that is assuming that is always in that format. Otherwise it may break the code. num = adid.split('=')[1]
Recommended Tutorials: