Skip to content

ankit16-19/PROJECTS-PYTHON

Repository files navigation

PROJECTS-PYTHON

update logs

for installing chrome driver (require for selenium)

for ubuntu // sudo apt-get install chromium-chromedriver for windows users download chromedriver ///https://chromedriver.storage.googleapis.com/index.html?path=2.27/ the set the path(directory location of chrome driver in a variable executable_path //browser = webdriver.Chrome(executable_path="/usr/lib/chromium-browser/chromedriver",chrome_options = chromeOptions)//

1.pyvirtualdisplay

for making the selenium browser(in this case chrome invisible or may i say in background) Installation: !!as root!! pip install pyvirtualdisplay

2.twilio

for messeging service to send sms to mobile as soon as the there is a new message on the hibiscus notice board (or as soon as the script runs.) Installation: !!as root!! pip install twilio

3. options from selenium

this is to make the browser not to load any image's(loading images only slow's down the scraping process)

4. functions subject(currsemenster,semester)

currsemester is the current semester semester is the semester for which you want attendence,grades.

5.Now comes the ------------pseudofeedback

I know that this is not right. Thsi is only for educational purpose if anyone use this for any other purpose i am not responsible.

This will fill the feedback of all the subjects for the predefined inputs.

6. notification()

This will take send you the new notifications that arrives on hibiscus through sms through twilio.

7. but

For using twilio u have to make a account on twilio.com they will give you a key and password and a number of your choice also u have to register(verify the mobile no. through sms) the mobile no. on which you want to send sms. if you want to send sms to many simultaneously then use www.way2sms.com or www.160by2.com

this code is not complete so the file that a read in notification is not created by script i have manually created that file so if u want to use you have to make that file. i will update that in next update

sorry for any typo's or any mistake.

Bie Bie

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages