当我访问www.sampleweb.com/reg/
我有一个输入值类似。如何从python获得网页中的html输入值
<input id="input-id" class="input-class" name="myinput" type="text" value="hello world">
我怎样才能使用python www.sampleweb.com/reg/
的输入hello world
价值?
我想在访问www.sampleweb.com/reg/
是这样的:
url = 'http://www.sampleweb.com/reg/'
urlopen(url)
是在访问的URL这正确吗?
任何人都可以帮助我了解我的情况吗?
在此先感谢...