當我訪問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這正確嗎?
任何人都可以幫助我瞭解我的情況嗎?
在此先感謝...