Let's take a moment to appreciate your work towards IITD community.
rahul@Inspiron:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.10
Release: 16.10
Codename: yakkety
rahul@Inspiron:~$ uname -a
Linux Inspiron 4.8.0-22-generic #24-Ubuntu SMP Sat Oct 8 09:15:00 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
import ssl
ssl._create_default_https_context = ssl._create_unverified_context
Now script is working fine (tested several times) and I'am sure there's nicer and safer way of getting rid of this error.
The code that caused this warning is on line 84 of the file login.py. To get rid of this warning, change code that looks like this:
BeautifulSoup([your markup])
to this:
BeautifulSoup([your markup], "lxml")
markup_type=markup_type))