Jump to content

Notification: "Book needs to be renovated" in winhttp


Recommended Posts

Hello guys, okay?
In my college I constantly forgot to renew my books, so I created a script with IE to tell me when I need to renew it in the system, however, I would like to do the code with winhttp, but Idk to work with winhttp...
In fact, I do not know if you can do this with winhttp.


I was able to login to the site using winhttp,I need to do after that is to follow the sequence of images:

Imagem_1.jpgImagem_1.jpg

"click" in this button "Fechar"

 

Imagem_2.jpg

Imagem_3.jpg

"click" in this buttons

 

And finally get to the part that shows the date that I need to renew my books!

Imagem_4.jpg

In this part, we extract the data using regular expressions and everything is done!

Could someone give me a "north" of how to do this? I use firefox extension to read winhttpheaders, but what I need to do to follow these steps? it's possible?

if someone can help me I would greatly appreciate it

Thank you very much

 

Edited by golfinhu
Link to comment
Share on other sites

do those not have resulting URLs?  Are the inet* functions not up to the task such that you are forced to the winhttp route, or is that just a preference?

,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...