简体   繁体   中英

can we capture data that comes to a browser from a website?

i am not sure whether we can capture data from website ie suppose if we submit a form we get some data in response from website. How can we capture that data ?.

for example consider a college results website if we enter roll number it gives results data in a browser.i want to know how we can capture and store that data to a database using a program instead of showing it on browser?

thanks in advance

You could use an entirely Python framework: using Mechanize as a browser and form filler, and an html parser like Beautiful Soup to extract and then store the various information you get. To store your results in a database you could then use SQLite.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM