Getting Form "action" From BeautifulSoup Result
I'm coding a Python parser for a website to do some job automatically but I'm not much into 're' module (regex) for Py and can't make it work. req = urllib2.Request(tl2) req.add_un
Solution 1:
You can do it in one step:
action = soup.find('form', id='form_product_page').get('action')
Post a Comment for "Getting Form "action" From BeautifulSoup Result"