Skip to content

Latest commit

 

History

History
36 lines (23 loc) · 2.3 KB

README.md

File metadata and controls

36 lines (23 loc) · 2.3 KB

lpu-all-drives-info

This simple script can help you to fetch your desired number of drives happened in LPU. You can fetch Date, Company Name, CTC and Streams using this script.

Follow below procedure to fetch the details.

  • Download and extract the zip file into a folder
  • Download GOOGLE CHROME and CHROME Webdriver. Make sure you download the right version of WEBdriver

After performing above steps, follow these:

pip install -r requirements.txt

Once you have installed everything, open the script.py OR open notebook.py which is a jupyter notebook file (Run this if you have jupyter installed and know how to use it)

❌ Please do not use any online jupyter platform like colab or Kaggle.

  • Provide the Credentials, User ID and User Password
  • Provide path to chrome web driver in the path variable
  • Select number of pivots you want. (1 pivot contains 10 pages or 50 x 10 = 500 Drives). Not recommended to go beyond 15)

pivot_pages pivot_pages

  • In above image, if you want the data till 30th page, set pivot_pages to 3, if you want data till 20th page, set it to 2 and so on. The data will always be scrapped in forms of 10 pages minimum.
  • Run the saved script or run all jupyter notebook cells

THERE WILL BE CONTINUOUS VERY QUICK POP UPS IN CHROME BROWSER, don't worry, the script is doing its job. Best way is to turn off your SCREEN and leave it for 5 minutes or more, depending upon how many pages needed to be scrapped.

Please do not interfere browser or press any key while the script is running. The browser will automatically quits after the script has been executed succesfully.

The results are stored in a CSV/Excel file named drives.csv. It will be saved in the same folder where your script is present. If not, do search in file explorer using the name of file.

To filter out results of different or particular stream, use filter in excel or just check out this video

Feel free to open any issue if found, make sure you follow the given steps.

Please use this script on your own risk, I am not responsible for any offence/problem generated by this script. This is just for Educational purpose