Python request help 04-21-2019, 01:45 PM
#1
How to add python request click web button.
Thanks!
Thanks!
| Python request help filter_list | |
from splinter import Browser
with Browser() as browser:
browser.visit(url)
browser.fill('textbox', 'your text here')
browser.find_by_name('Submit').click()
copied_text = browser.find_by_id('results')[0].text(04-21-2019, 03:44 PM)slothic Wrote:Code:from splinter import Browser with Browser() as browser: browser.visit(url) browser.fill('textbox', 'your text here') browser.find_by_name('Submit').click() copied_text = browser.find_by_id('results')[0].text
(04-21-2019, 07:14 PM)darkninja1980 Wrote:(04-21-2019, 03:44 PM)slothic Wrote:Code:from splinter import Browser with Browser() as browser: browser.visit(url) browser.fill('textbox', 'your text here') browser.find_by_name('Submit').click() copied_text = browser.find_by_id('results')[0].text
nice looking code.
(04-21-2019, 07:58 PM)slothic Wrote:(04-21-2019, 07:14 PM)darkninja1980 Wrote:(04-21-2019, 03:44 PM)slothic Wrote:Code:from splinter import Browser with Browser() as browser: browser.visit(url) browser.fill('textbox', 'your text here') browser.find_by_name('Submit').click() copied_text = browser.find_by_id('results')[0].text
nice looking code.
Stole it from somewhere.
(04-21-2019, 07:59 PM)darkninja1980 Wrote:(04-21-2019, 07:58 PM)slothic Wrote:(04-21-2019, 07:14 PM)darkninja1980 Wrote: nice looking code.
Stole it from somewhere.
What website?
(04-21-2019, 08:04 PM)slothic Wrote:(04-21-2019, 07:59 PM)darkninja1980 Wrote:(04-21-2019, 07:58 PM)slothic Wrote: Stole it from somewhere.
What website?
No clue, cant remeber. You just have to search up the problem and either find parts and combine them or other people have the same problem and you can just CTRL+C and then CTRL+v