Interact on a web page with python

yecine
8 years ago

0

Hello,
I want to interact on a web page with python code ?
I’m speaking about fill out a form…
Can I do it ?
If I can’t, can I do it with other language ?
Thanks,

5replies
3voices
204views
? [bolofecal]
8 years ago

0

Yes, is really easy using python. You can use this packages

[list]
[] requests - to submit data (post, get, cookie) and access page.
[
] BeautifulSoup - to access specifics elements, and get text or html from page.
[/list]

f0rk [HackingGuy]
8 years ago

0

Dont forget Selenium @bolofecal ;)

? [bolofecal]
8 years ago

0

I don’t use this, all that I know do with web I use just these, except about images I use PIL and StringIO, but I will check Selenium.

f0rk [HackingGuy]
8 years ago

0

Good :)
I personally like its webdriver ;)

yecine
8 years ago

0

Ok, thanks !

Discussion thread has been locked. You can no longer add new posts.
1 of 6

This site only uses cookies that are essential for the functionality of this website. Cookies are not used for tracking or marketing purposes.

By using our site, you acknowledge that you have read and understand our Privacy Policy, and Terms of Service.

Dismiss