Posts

Showing posts from November, 2017

TestYourBond scrapper with python

Image
Here we are going to make a web scrapper for Testyourbond , It's a website that provides quiz link to share with people and each one complete the quiz gets score out of 15. Web scrapping is s a technique employed to extract data from websites . we are going to use this to get the correct answers of the quiz before doing it.so let's get started. Making the quiz   Here, how to create a quiz to get a link at the end . that's going to be our input to the script.  1- 2- 3- 4-   Now we have our link here and now we ready to code. Setting up the environment We are going to use python 3 with requests(it's used to get and post http requests to get data) and beautifulsoup(used for parsing the html and format it in data structured way) modules. you can download python 3 from here after this you can get the modules by typing this commends in terminal pip install requests pip install beautifulsoup4 Now we are ready to code. Importing modules